I upgraded the box runnning my mythtv backend server from 10.04 to 12.04
today, and was affected by this.
fixed it by editing /etc/apparmor.d/usr.sbin.mysqld
and changing lines
/var/run/mysqld/mysqld.pid w,
/var/run/mysqld/mysqld.sock w,
to
/run/mysqld/mysqld.pid w,
/run/mysqld/mysqld.sock w,
Jamie,
I haven't chosen the old profile, I answered to override my local
changes in every question I got. It still seems a bug to me.
BTW, mysql is in version 5.5, isn't it?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in
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/mys