On Thu, May 20, 2010 at 7:47 AM, Robert Citek <[email protected]> wrote:
> The "right" way would be to figure out the correct configuration for
> apparmor, but the manual is anything but "fine".

Solution: insert these two lines to /etc/apparmor.d/usr.sbin.mysqld :

   /var/lib/foo/mysql/ r,
   /var/lib/foo/mysql/** rwk,

Then restart apparmor and mysql:

$ sudo service mysql stop
$ sudo service apparmor stop
$ sudo service apparmor start
$ sudo service mysql start

MySQL started just fine.

Softlinks with MySQL:

http://dev.mysql.com/doc/refman/5.1/en/symbolic-links-to-databases.html

A starting point on AppArmor:

http://en.wikipedia.org/wiki/AppArmor

Regards,
- Robert

-- 
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug

Reply via email to