Skip to content

Put a profile in AppArmor complain mode

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

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  1. Disable AppArmor in Ubuntu
  2. How to check the startup time of a particular program
  3. Set the maximum allowed number of connections in MySQL
  4. Turn off InnoDB support in MySQL
  5. Disable DNS hostname lookup in MySQL

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*