On Fri, Jun 06, 2008 at 10:59:13PM -0000, Robin Joinson wrote:
> MySQL isn't installed in /opt.  The myslqd is the Ubuntu one in
> /usr/sbin/mysqld. On this system, /usr/share is symlinked to /opt/share
> and has been since the system was installed (and prior to the mysql
> package being installed).  The mysql package was upgraded a number of
> times with apt-get dist-upgrade and there was no problem until app
> armour came along. Since I purged apparmor, there hasn't been another
> problem. I think you have a problem with package dependencies. I don't
> think that the symlinked /usr/share is the cause of the problem.

That's exactly the problem. AppArmor follows symlinks when applying
the rules in a profile. You'd either have to update the mysqld profile
to allow access to /opt/share or remove the symlink.

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

-- 
mysqld fails to start on upgrade 7.10->8.04
https://bugs.launchpad.net/bugs/204042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to