Untested, but looks reasonable. However, note that you can now use the Upstart apparmor profile rather than using the pre-start for that:
apparmor load /etc/apparmor.d/usr.sbin.mysqld pre-start script # ... end script -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1121874 Title: MySQL launch fails silently if < 4MB of disk space is available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1121874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs