Here is the diff between the old profile and the new profile:

$ diff -u usr.sbin.mysqld.dpkg-old usr.sbin.mysqld 
--- usr.sbin.mysqld.dpkg-old    2009-06-18 11:54:50.000000000 -0400
+++ usr.sbin.mysqld     2009-06-18 11:54:40.000000000 -0400
@@ -7,11 +7,15 @@
   #include <abstractions/nameservice>
   #include <abstractions/user-tmp>
   #include <abstractions/mysql>
+  #include <abstractions/winbind>
 
   capability dac_override,
+  capability sys_resource,
   capability setgid,
   capability setuid,
 
+  network tcp,
+
   /etc/hosts.allow r,
   /etc/hosts.deny r,
 
@@ -21,8 +25,10 @@
   /etc/mysql/my.cnf r,
   /usr/sbin/mysqld mr,
   /usr/share/mysql/** r,
-  /home/jean-claude/mysql r,
-  /home/jean-claude/mysql** rwk,
+  /var/log/mysql.log rw,
+  /var/log/mysql.err rw,
+  /var/lib/mysql/ r,
+  /var/lib/mysql/** rwk,
   /var/log/mysql/ r,
   /var/log/mysql/* rw,
   /var/run/mysqld/mysqld.pid w,


As you can see /home/jean-claude/mysql is no longer part of the new profile, 
which explains why mysql fails too start. Having the dpkg-old file means that 
there has been a prompt about a modified configuration file during a package 
update. Depending on the answer the locally modified file may have been 
overwritten.

Please update your apparmor profile to take into account the custom
datadir location and mysql should start working again. Thus I will mark
this bug invalid.

** Changed in: mysql-dfsg-5.0 (Ubuntu)
       Status: Incomplete => Invalid

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: le sous-processus post-installation script a retourne une 
erreur de sortie d'etat 1
https://bugs.launchpad.net/bugs/383050
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to