Ubuntu

"AppArmor not available as kernel LSM" when status ask

Reported by Andrzej Borucki on 2011-04-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Undecided
Unassigned

Bug Description

I install Ubuntu under VirtualBox 4.0.6 r71344 and install Guest Additions.
I call command "sudo /etc/init.d/apparmor status"
it appears error: "AppArmor not available as kernel LSM / fail"

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: evince 2.32.0-0ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
Architecture: i386
Date: Tue Apr 26 00:28:00 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=pl_PL.utf8
 SHELL=/bin/bash
SourcePackage: evince

Mark Russell (marrusl) wrote :

Hi Andrzej. Can you upgrade to VirtualBox 4.0.8 (r71778) or higher and see if this still happens?

The same problem was reported with 11.04 as the guest (LP #786839) and I was unable to reproduce it with VirtualBox 4.0.8 r71778. Perhaps the latest Guest Addition modules fix the issue.

Mark Russell (marrusl) wrote :

Never mind my last suggestion. From your kernel log it appears you are trying to run both SELinux and AppArmor. This won't work. You need to pick one or the other. Hope this helps.

2011/5/26 Mark Russell <email address hidden>

> Hi Andrzej. Can you upgrade to VirtualBox 4.0.8 (r71778) or higher and
> see if this still happens?
>
> I test on VirtualBox 4.0.6 (r71344)

John Jackson (taladon) on 2011-11-09
affects: ubuntu → apparmor (Ubuntu)
Jamie Strandboge (jdstrand) wrote :

The guest has SElinux enabled. You may use only SElinux or AppArmor, but not both.

Changed in apparmor (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers