[Apparmor-general] module compilation problems - missing
mnt_namespace.h - apparmor 2.0.1 + debian etch + kernel 2.6.18
Adrian Gruntkowski
adrian at ima.pl
Thu Apr 19 03:02:47 MDT 2007
> On Wed, Apr 18, 2007 at 05:38:35PM -0700, Seth Arnold wrote:
>> On Thu, Apr 19, 2007 at 02:09:07AM +0200, Adrian Gruntkowski wrote:
>> > Ok, my fault again - I recompiled patched kernel but moved only
>> > apparmor modules to the existing one without swapping the image
>> > itself...
>>
>> :) Done that myself..
>>
>> > There are still some problems with the module though. Doing modprobe
>> > results in following message:
>> >
>> > FATAL: Error inserting apparmor (/lib/modules/2.6.18/kernel/security/apparmor/apparmor.ko): Resource temporarily unavailable
>> > AppArmor: Unable to load AppArmor
>>
>> This usually means another LSM such as capability or SELinux or dazuko
>> is already loaded or compiled in..
>>
> if it is selinux or capabilities and they are builtin to your kernel
> you can either disable them in your .config and recompile or add
> the appropriate kernel argument to your boot loader
> capability.disable = 1
> selinux=0
That did the trick. Thank you guys for all your help!
Now I have to dig through the docs to make it work :)
More information about the Apparmor-general
mailing list