unable to modprobe apparmor or capability on Ubuntu 7.04 (kernel 2.6.20-16-generic

Mathias Gug mathiaz at ubuntu.com
Wed Jul 25 21:40:39 UTC 2007


Hi Mark,

On Wed, Jul 25, 2007 at 01:57:05PM -0700, Allyn, Mark A wrote:
> I was told this is the correct list for me to ask this type of question;
> if it is not, can some please re-direct me to the correct place???
That's a good place to ask about AppArmor related issues.

> I am attempting to install the AppArmor on a Ubuntu Fiesty Fawn (7.04)
> Desktop with Kernel version 2.6.20-16-generic. 
Most of the development related to AppArmor is done in the Gutsy
Gibbons, the next release of Ubuntu.

Gutsy has better integration of AppArmor: the AppArmor module is
packaged with the kernel, thus no manual compilation is required.
AppArmor is also loaded much earlier during the boot process from the
ram disk.

> I am running into some problems with the two modules (apparmor and
> capability). When I try to do a modprobe of either one of them, I get an
> error stating "Error inserting apparmor Resource temporarily
> unabailable). 
> I did try some googling, but the only ticket I came across was one to
> the effect that you need to unload the capability modules before loading
> the apparmor module. That ticket was closed.
Are you talking about bug 113887 in launchpad ? If so, this bug has
been fixed in Gutsy, in release 0ubuntu6. Feisty has only 0ubuntu4.

> In my situation, I cannot load either module.
Could you try to rmmod the capability module, then modprobe apparmor :
$ sudo rmmod capability
$ sudo modprobe apparmor

--
Mathias




More information about the ubuntu-server mailing list