I am also not able to start the mysql process successfully, even after
adding the line "/sys/devices/system/cpu/ r," to
/etc/apparmor.d/usr.sbin.mysqld. Did an update of packages apt-get
install mysql-client mysql-client-5.1 mysql-client-core-5.1 on ubuntu
lucid. After this, when starting mysql with upstart script: service
mysql start it just hangs, ps -e | grep my shows no processes. This
happens when apparmor is running and when it is not, though settings
(checked from a working mysql database server) seem to be correct.
Something in the context/apparmor/security must be missing... any ideas?
Could I remove profiles from apparmor to see if this is related without
risking a server reboot?

Apparmor status shows:

/etc/init.d/apparmor status
apparmor module is loaded.
6 profiles are loaded.
6 profiles are in enforce mode.
   /sbin/dhclient3
   /usr/bin/freshclam
   /usr/lib/NetworkManager/nm-dhcp-client.action
   /usr/lib/connman/scripts/dhclient-script
   /usr/sbin/mysqld
   /usr/sbin/tcpdump
0 profiles are in complain mode.
1 processes have profiles defined.
1 processes are in enforce mode :
   /usr/bin/freshclam (1706) 
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/444479

Title:
  missing apparmor access rule

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to