[Bug 201799] Re: Confusing mysqld startup failure with apparmor (Hardy)
Lost In Tokyo
hkkf1970 at yahoo.com
Sat Apr 26 07:19:51 BST 2008
Alternative solution:
1. Edit /etc/apparmor.d/usr.sbin.mysqld and add the following two lines:
/home/mysql/ r,
/home/mysql/** rwk,
somewhere in the middle of the file. After the /var/lib/mysql lines would be fine.
2. /etc/init.d/apparmor restart
3. /etc/init.d/mysql restart
You retain the benefis of apparmor. Maybe the comments in
/etc/mysql/my.cnf regarding apparmor can be expanded to cover exactly
what you should do if you reset mysql_data.
--
Confusing mysqld startup failure with apparmor (Hardy)
https://bugs.launchpad.net/bugs/201799
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list