[Bug 444479] Re: missing apparmor access rule

2011-02-22 Thread ITCons
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
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.
https://bugs.launchpad.net/bugs/79

Title:
  missing apparmor access rule

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 444479] Re: missing apparmor access rule

2011-02-22 Thread ITCons
This solved my problem on Ubuntu Lucid:

apt-get remove --purge mysql-server mysql-common mysql-client

apt-get install mysql-server

After purging and installing the packages, mysql started fine. Seems it
was mysql-related.

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

Title:
  missing apparmor access rule

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs