[Bug 915490] Re: mysql server cannot start with apparmor enabled

Jamie Strandboge jamie at ubuntu.com
Tue Jan 17 13:29:24 UTC 2012


Thank you for using Ubuntu and reporting a bug. Newer versions of Ubuntu use /run instead of /var/run now, so AppArmor profiles need to be adjusted accordingly. The AppArmor profile for mysql (from the mysql-5.1 source package) in 12.04 already includes the following line:
/{,var/}run/mysqld/mysqld.sock w,

Because 'w' covers 'c'reat, I am going to mark this bug as Invalid. It
sounds like on upgrade you chose to use the old profile (in
/etc/apparmor.d/usr.sbin.mysqld) without merging in the new changes from
updated profile in 12.04. If this is in error, please reopen and please
don't hesitate to file any other bugs you may find.

** Package changed: apparmor (Ubuntu) => mysql-5.1 (Ubuntu)

** Changed in: mysql-5.1 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/915490

Title:
  mysql server cannot start with apparmor enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/915490/+subscriptions



More information about the Ubuntu-server-bugs mailing list