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?
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?
-- www.ubuntu. com
Mathias Gug
Ubuntu Developer http://