[apparmor] 2.5.1 build failure on Arch

John Johansen john.johansen at canonical.com
Wed Oct 20 00:29:12 BST 2010

On 10/19/2010 04:12 PM, andrew thomas wrote:
> On 10/19/2010 05:51 PM, John Johansen wrote:
>> Alright, all you need is a mount entry as either part of your init scripts or preferably your mtab and things should just work
>> the ubuntu mtab has
>> none /sys/kernel/security securityfs rw 0 0
> I looked in /etc/mtab before I rebooted and the /sys/kernel/security line was there.  After I rebooted, it was gone.  So I added it, rebooted and it was gone again.  When I mounted my ubuntu partition from arch and looked in /etc/mtab it wasn't there either. So I guess that it will have to be part of the init scripts.  Thanks for all your time.

err, right.  Actually the apparmor init scripts should be attempting to mount securityfs.

They test for it and if it isn't mounted they attempt to mount it
look in /etc/init.d/apparmor

so perhaps the apparmor initscripts aren't running on boot?

More information about the AppArmor mailing list