When stopping the MySQL daemon it attempts to read it's PID file but it is denied by apparmor:
# stop mysql mysql stop/waiting # dmesg | tail -n1 [453534.841219] type=1400 audit(1369857443.194:11): apparmor="DENIED" operation="open" parent=1 profile="/usr/sbin/mysqld" name="/run/mysqld/mysqld.pid" pid=24512 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=103 ouid=103
This bug on both Precise and Quantal (I haven't tested Raring).
When stopping the MySQL daemon it attempts to read it's PID file but it is denied by apparmor:
# stop mysql 3.194:11) : apparmor="DENIED" operation="open" parent=1 profile= "/usr/sbin/ mysqld" name="/ run/mysqld/ mysqld. pid" pid=24512 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=103 ouid=103
mysql stop/waiting
# dmesg | tail -n1
[453534.841219] type=1400 audit(136985744
This bug on both Precise and Quantal (I haven't tested Raring).