mysql fails to start because of multiple apparmor profiles
Bug #403898 reported by
payman
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
mysql fails to start after upgrade...should be related to apparmor since I'm not using the default data directory for mysql.
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: mysql-server-5.0 5.1.30really5.
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.1.30really5.
Uname: Linux 2.6.28-13-generic i686
summary: |
- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to - install/upgrade: subprocess post-installation script returned error exit - status 1 + mysql fails to start because of multiple apparmor profiles |
affects: | mysql-dfsg-5.0 (Ubuntu) → apparmor (Ubuntu) |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Relevant error message:
Setting up mysql-server-5.0 (5.1.30really5. 0.75-0ubuntu10. 2) ...
* Stopping MySQL database server mysqld
...done.
* Reloading AppArmor profiles ...
...done.
* Starting MySQL database server mysqld
...fail!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.0 (--configure):
subprocess post-installation script returned error exit status 1
Could you please provide the following information:
* content of /var/log/daemon.log related to mysql processes:
/var/ log/daemon. log
* apparmor audit messages related to mysqld:
/var/ log/kern. log
* mysqld apparmor profile:
/etc/ apparmor. d/usr.sbin. mysqld
* mysql configuration stripped of private information (such as password):
/etc/ mysql/my. cnf
* extra mysql configuration from the conf.d directory:
/etc/ mysql/conf. d/