Seems like mysqld would need to hook into the audit system. It could then detect access failures due to either selinux or apparmor.
This however seems like a large upstream endeavor. -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor https://bugs.launchpad.net/bugs/597490 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs