I found what was not correct :
my /etc/apparmor.d/usr.sbin.mysqld was not correctly set up with the
location I use for mysql (/home/mysql)
Tow lines:
/var/lib/mysql/ r,
/var/lib/mysql/** rwk,
should be replaced by:
/home/mysql/ r,
/home/mysql/** rwk,
It is well described in
I found what was not correct :
my /etc/apparmor.d/usr.sbin.mysqld was not correctly set up with the
location I use for mysql (/home/mysql)
Tow lines:
/var/lib/mysql/ r,
/var/lib/mysql/** rwk,
should be replaced by:
/home/mysql/ r,
/home/mysql/** rwk,
It is well described in
Here they are:
/var/log/kern.log
Jul 2 10:26:51 maison-desktop kernel: [518763.806843] type=1503
audit(1246523211.630:219): operation=inode_create requested_mask=a::
denied_mask=a:: fsuid=0 name=/home/mysql/maison-desktop.lower-test pid=743
profile=/usr/sbin/mysqld
Jul 2 10:26:51
Here they are:
/var/log/kern.log
Jul 2 10:26:51 maison-desktop kernel: [518763.806843] type=1503
audit(1246523211.630:219): operation=inode_create requested_mask=a::
denied_mask=a:: fsuid=0 name=/home/mysql/maison-desktop.lower-test pid=743
profile=/usr/sbin/mysqld
Jul 2 10:26:51
Sorry, I tried to look for a solution but could not succeed.
here is part of daemon.log:
Jul 2 10:26:51 maison-desktop mysqld_safe[722]: 090702 10:26:51 [Warning]
Can't create test file /home/mysql/maison-desktop.lower-test
Jul 2 10:26:51 maison-desktop mysqld_safe[722]: 090702 10:26:51
Sorry, I tried to look for a solution but could not succeed.
here is part of daemon.log:
Jul 2 10:26:51 maison-desktop mysqld_safe[722]: 090702 10:26:51 [Warning]
Can't create test file /home/mysql/maison-desktop.lower-test
Jul 2 10:26:51 maison-desktop mysqld_safe[722]: 090702 10:26:51
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/27445282/Dependencies.txt
** Attachment added: DpkgTerminalLog.txt
http://launchpadlibrarian.net/27445283/DpkgTerminalLog.txt
--
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to
install/upgrade: le
Public bug reported:
Ubuntu 9.04
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: le sous-processus post-installation script a retourné une erreur
de sortie d'état 1
NonfreeKernelModules: nvidia
Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/27445282/Dependencies.txt
** Attachment added: DpkgTerminalLog.txt
http://launchpadlibrarian.net/27445283/DpkgTerminalLog.txt
--
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to
install/upgrade: le