According to the mysqld apparmor profile, /home/mysql is not included.
However datadir is set to /home/mysql in datadir.cnf. You need to update
mysqld apparmor profile to allow access to /home/mysql/.
See https://wiki.ubuntu.com/DebuggingApparmor for more information on
debugging an AppArmor relat
Mathias Gug a écrit :
> According to the kernel log:
>
> Jun 15 16:25:41 Principal kernel: [ 3611.203447] type=1503
> audit(1245075941.823:52): operation="inode_create" requested_mask="a::"
> denied_mask="a::" fsuid=0 name="/home/mysql/Principal.lower-test"
> pid=7136 profile="/usr/sbin/mysqld"
>
** Changed in: mysql-dfsg-5.0 (Ubuntu)
Importance: Undecided => Low
--
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
https://bugs.launchpad.net/bugs/385943
You received this bug notification
According to the kernel log:
Jun 15 16:25:41 Principal kernel: [ 3611.203447] type=1503
audit(1245075941.823:52): operation="inode_create" requested_mask="a::"
denied_mask="a::" fsuid=0 name="/home/mysql/Principal.lower-test"
pid=7136 profile="/usr/sbin/mysqld"
It seems that there is an issue wit
Mathias Gug a écrit :
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better.
>
> Could you please provide the following information:
>
> * content of /var/log/daemon.log related to mysql processes:
>
> /var/log/daemon.log
>
> * apparmor audit messages rela
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
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
*
** Attachment added: "Dependencies.txt"
http://launchpadlibrarian.net/27780412/Dependencies.txt
** Attachment added: "DpkgTerminalLog.gz"
http://launchpadlibrarian.net/27780413/DpkgTerminalLog.gz
--
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to
install/upgrade: subpro