Apparmor profile messed up after upgrade oneiric→precise, blocking mysql from starting

Bug #1008195 reported by MMlosh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.5 (Ubuntu)
New
Undecided
Unassigned

Bug Description

After upgrade to precise, mysql no longer wants to start.

$ sudo service mysql start
start: Job failed to start

After peeking into the upstart config file, I discovered that deamon itself runs fine.
The problem is the apparmor profiles
$ sudo /lib/init/apparmor-profile-load usr.sbin.mysqld
AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 44: Could not open 'local/usr.sbin.mysqld'

reinstalling the package fixed the issue, but having the database down without a reason was quite scary.
Please consider hunting this bug, even though most of the people probably upgraded already.

unfortunatelly, I forgot to preserve the broken profile file

Tags: apparmor
Micah Gersten (micahg)
tags: added: apparmor
Revision history for this message
Aymeric (mulx) wrote :

This bug seem the same as this one: #1011702 so I'm making it duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.