[Bug 401767] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1

Mathias Gug mathiaz at ubuntu.com
Tue Sep 8 20:28:13 BST 2009


You need to update the AppArmor mysql profile to allow access for a
custom data directory. See https://wiki.ubuntu.com/DebuggingApparmor for
more information.

According to the daemon.log file:

ep  8 14:34:41 caleb mysqld_safe[2800]: started
Sep  8 14:34:41 caleb mysqld[2803]: 090908 14:34:41 [Warning] Can't create test file /home/jean-claude/mysql/caleb.lower-test
Sep  8 14:34:41 caleb mysqld[2803]: 090908 14:34:41 [Warning] Can't create test file /home/jean-claude/mysql/caleb.lower-test
Sep  8 14:34:41 caleb mysqld[2803]: 090908 14:34:41  InnoDB: Operating system error number 13 in a file operation.

And in the kern.log file:

Sep  8 14:34:41 caleb kernel: [   17.473630] type=1503
audit(1252413281.322:11): operation="inode_create" requested_mask="a::"
denied_mask="a::" fsuid=0 name="/home/jean-claude/mysql/caleb.lower-
test" pid=2802 profile="/usr/sbin/mysqld"

And usr.sbin.mysqld apparmor profile doesn't give any access to /home
/jean-claude/mysql/ for mysqld.

** 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 retourn? une erreur de sortie d'?tat 1
https://bugs.launchpad.net/bugs/401767
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.



More information about the Ubuntu-server-bugs mailing list