Comment 6 for bug 382727

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 382727] 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

On Fri, Jun 05, 2009 at 10:22:24PM -0000, pascal wrote:
> >> Jun 5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 InnoDB:
> >> Operating system error number 13 in a file operation.
> >> Jun 5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: The error means
> >> mysqld does not have the access rights to
> >> Jun 5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: the directory.
> >>
> >
> > Why is mysql trying to use /home/mysql/ as its data directory
> >
> > Is /var/lib/mysql/ a symlink to /home/mysql/ ?
> >
> Not a symlink, but a datadir setting in my.cnf
> > This is a non-default setup and thus mysqld apparmor profile needs to be
> > updated to account for this custom configuration.
> >
> >
>
> Apparmor is updated and ok
>
> All is good before the update.

Could you post the mysqld apparmor profile (found in /etc/apparmor.d/)?
Could you check if there are audit messages related to apparmor and
mysqld in /var/log/kern.log?

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com