PDA

View Full Version : [ubuntu] Repair apparmor (mysql issue)



stuartsiegler
June 2nd, 2008, 06:41 PM
While attempting to re-install mysql-server-5.0, i've backed myself into an apparmor issue, where apparmor cannot load <abstractions/mysql>:

/etc/init.d/apparmor reload
Reloading AppArmor profiles Error: #include <abstractions/mysql> not found at line 9 in /etc/apparmor.d/usr.sbin.mysqld.
Profile /etc/apparmor.d/usr.sbin.mysqld failed to load

(this cascading problem started because I could not log into the msqladmin. apt-get remove does not remove everything and the reinstall was failing).


Where do I start with this?

Thanks!

stuartsiegler
June 2nd, 2008, 07:31 PM
Nevermind. I just app-get removed apparmor.