apparmor_profile -R /etc/apparmor.d/<profile> no longer works

Bug #400781 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: apparmor

$ sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.cupsd
[234]
$ sudo cat /sys/kernel/security/apparmor/profiles | grep cupsd
/usr/sbin/cupsd (enforce)

This does work though:
$ sudo sh -c 'echo -n "/usr/sbin/cupsd" >/sys/kernel/security/apparmor/.remove'
$ sudo cat /sys/kernel/security/apparmor/profiles | grep cupsd
$

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: Fri Jul 17 12:05:59 2009
DistroRelease: Ubuntu 9.10
Package: apparmor 2.3.1+1403-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
SourcePackage: apparmor
Uname: Linux 2.6.31-3-generic x86_64

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * utils/SubDomain.pm: exclude new cache directory.
  * parser/parser_main.c:
    - allow OPTION_REMOVE to work again (LP: #400781).
    - warn about using stdin.
    - do not cache disabled profiles.
    - report cached loading if not quiet.
  * debian/apparmor.init:
    - do not depend on aa-status.
    - only write cache from init script.

 -- Kees Cook <email address hidden> Fri, 17 Jul 2009 10:10:05 -0700

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

Other bug subscribers

Remote bug watches

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