[Bug 419400] Re: [Karmic] MySQL security problem

seasoned_geek roland at logikalsolutions.com
Wed Aug 26 19:48:56 BST 2009


I have fixed this problem on my own, but it points to a deeper issue.

You have to edit an apparmor config file, then reboot.  Given the
current shutdown problems with Karmic, that is an issue.  Where is the
GUI for AppArmor?  OpenSuSE has one, why doesn't KUbuntu?

sudo scite /etc/apparmor.d/usr.sbin.mysqld

If you don't have SciTE installed, you probably should since it is a
very good text editor and doesn't have much baggage.

At the very end of the file, before the closing brace, you need to add a
line (or lines) which give mysql access to the directory trees you want
to use.

  /var/run/mysqld/mysqld.sock w,
  /home/roland/** rwk,
}

You can restrict access to specific files or to any file in a tree, like
I did.  rwk = read write kill.

Where is the AppArmor GUI and why isn't it installed automatically if we
are now using AppArmor?

-- 
[Karmic] MySQL security problem
https://bugs.launchpad.net/bugs/419400
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list