Hi Clint, I have installed MySQL from Ubuntu official repos.
I have set the hugepages configuration for the kernel as described in https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt And I have set the hugepages configuration for MySQL as described https://dev.mysql.com/doc/refman/5.5/en/large-page-support.html I have added this to /etc/apparmor.d/local/usr.sbin.mysqld (note that it is the "local" profile not the one you mentionned) capability ipc_lock, /SYSV* rw, I have then reloaded apparmor profiles (using service apparmor reload). Then I have restarted mysql. But I still get the denied permission from AppArmor. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1011867 Title: HugeTLB EACCES Permission Denied To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1011867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs