/etc/apparmor/initramfs assumes availability of /usr too early

Bug #439726 reported by Steve Langasek
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
High
Kees Cook
Karmic
Fix Released
High
Kees Cook

Bug Description

Binary package hint: apparmor

At boot time, /etc/apparmor/initramfs throws errors about not finding 'find' and 'xargs' commands. It appears this script is being run too early, before /usr is mounted?

ProblemType: Bug
ApparmorStatusOutput:
 Error: command /usr/sbin/apparmor_status failed with exit code 4: You do not have enough privilege to read the profile set.
 apparmor module is loaded.
Architecture: amd64
Date: Wed Sep 30 16:15:08 2009
DistroRelease: Ubuntu 9.10
Package: apparmor 2.3.1+1403-0ubuntu23
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: apparmor
Uname: Linux 2.6.31-11-generic x86_64

Revision history for this message
Steve Langasek (vorlon) wrote :
Changed in apparmor (Ubuntu):
importance: Undecided → Medium
Kees Cook (kees)
Changed in apparmor (Ubuntu):
status: New → Confirmed
importance: Medium → High
assignee: nobody → Kees Cook (kees)
Changed in apparmor (Ubuntu Karmic):
milestone: none → ubuntu-9.10
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apparmor - 2.3.1+1403-0ubuntu25

---------------
apparmor (2.3.1+1403-0ubuntu25) karmic; urgency=low

  * Do not use tools in /usr during initial start-up (LP: #439726).

 -- Kees Cook <email address hidden> Fri, 02 Oct 2009 16:52:04 -0700

Changed in apparmor (Ubuntu Karmic):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.