After upgrade from oneiric to precise, mysqld fails to start due to missing apparmor 'local' usr.sbin.mysqld config file

Bug #990543 reported by Ivo Wever
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-5.5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I just upgraded a machine from oneiric to precise, after which mysqld failed to start. I traced the problem to the fact that /etc/apparmor.d/local/usr.sbin.mysqld was missing, even though this file is by default included from /etc/apparmor.d/usr.sbin.mysqld.
A `touch /etc/apparmor.d/local/usr.sbin.mysqld` solved the problem.

I've never touched any apparmor configs myself, so I doubt it was due to some peculiarity in my usage of apparmor. Of course, there may have been a peculiarity during the upgrade process (didn't go entirely smoothly; i386 dependences for skype and crossoveroffice required some manual intervention).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mysql-5.5 (Ubuntu):
status: New → Confirmed
description: updated
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.