aa-genprof fails if profiles are in a subdirectory of /etc/apparmor.d
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge |
Bug Description
Binary package hint: apparmor
aa-genprof fails if there are profiles in a subdirectory of /etc/apparmor.d.
Reproducer:
$ sudo mkdir /etc/apparmor.d/foo
$ sudo cp /etc/apparmor.
$ sudo aa-genprof /usr/bin/gedit
include <foo/usr.
ProblemType: Bug
ApparmorStatusO
Error: command /usr/sbin/
apparmor module is loaded.
Architecture: amd64
Date: Mon Jul 20 16:12:57 2009
DistroRelease: Ubuntu 9.10
Package: apparmor 2.3.1+1403-0ubuntu5
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apparmor
Uname: Linux 2.6.31-3-generic x86_64
Attached file is the patch committed in r995 of ubuntu- core-dev/ apparmor/ ubuntu