mysql fails to start due to error in /etc/apparmor.d/usr.sbin.mysqld
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.1 (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
I just upgraded from 32-bit Oneiric to 64-bit Oneirc with a fresh install. After manually reinstalling my desired apps, I find that mysql (which is being used by MythTV 0.24, in my case) won't start. I know that I reported this exact same error years ago, but only to find that it's still hanging around.
The file /etc/apparmor.
Lines 36 and 37 are wrong, and,
need to change from:
/{,var/
/{,var/
to:
/{,var/
/{,var/
Cheers, Al
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: mysql-server-
ProcVersionSign
Uname: Linux 3.0.0-16-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Thu Mar 22 13:22:55 2012
ExecutablePath: /usr/sbin/mysqld
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcAttrCurrent: /usr/sbin/mysqld (enforce)
ProcEnviron: PATH=(custom, no user)
SourcePackage: mysql-5.1
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in mysql-5.1 (Ubuntu): | |
importance: | Undecided → Low |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I double checked this package in Oneiric and it should install the correct apparmor profile:
http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ oneiric/ mysql-5. 1/oneiric- updates/ view/head: /debian/ apparmor- profile
So I'm a little confused as to why your profile is broken.
I tried to reproduce your issue with a fresh mysql install - but no luck.... I get the correct profile.
Is it possible something else is modifying this profile? I can't find anything in the archive that might.