Feb 182010
Put a profile in AppArmor complain mode
Answer:
Some applications, such as the MySQL server, if you changed the default datadir, you might not be able to startup MySQL.
To solve the problem, put the MySQL profile in AppArmor complain mode can solve the problem.
# sudo aa-complain /usr/sbin/mysqld
Then reload AppArmor
# sudo invoke-rc.d apparmor reload