It was on /etc/apparmor.d/usr.sbin.mysqld , which clever unbuntu-bug found it was modified.
During upgrade, I was asked whether to substitute this file with a new version, but since I needed some of the current configuration and since I thought the changes where cosmetic (but they were not!), I choosed to keep my file.
I compared my file with the base version and applied the changes myself, and it worked. The changes were:
I found the problem.
It was on /etc/apparmor. d/usr.sbin. mysqld , which clever unbuntu-bug found it was modified.
During upgrade, I was asked whether to substitute this file with a new version, but since I needed some of the current configuration and since I thought the changes where cosmetic (but they were not!), I choosed to keep my file.
I compared my file with the base version and applied the changes myself, and it worked. The changes were:
=== d/usr.sbin. mysqld. bak /etc/apparmor. d/usr.sbin. mysqld d/usr.sbin. mysqld. bak 2011-10-17 10:02:03.000000000 +0200 d/usr.sbin. mysqld 2011-10-17 10:02:33.000000000 +0200 lib/mysql/ ** rwk, mysqld/ mysqld. pid w, mysqld/ mysqld. sock w, }run/mysqld/ mysqld. pid w, }run/mysqld/ mysqld. sock w,
diff -u /etc/apparmor.
--- /etc/apparmor.
+++ /etc/apparmor.
@@ -33,8 +33,8 @@
/var/
/var/log/mysql/ r,
/var/log/mysql/* rw,
- /var/run/
- /var/run/
+ /{,var/
+ /{,var/
/sys/ devices/ system/ cpu/ r, manolinux/ .opentpv/ ** rw,
/home/
===
Sorry to disturb you, Ubuntu develpers, but I hope at least this report helps other people with similar problems.
Thanks.