logprof creates duplicate profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have a hat profile defined in the /etc/apparmor.
To reproduce
- install libapache2-
- create a file e.g. /etc/apparmor.
^mysite flags=(complain) {
#include <abstractions/base>
#include <abstractions/
}
And assign it to some directory in Apache2:
<Directory /var/www/mysite>
Options Indexes FollowSymLinks
AAHatName mysite
</Directory>
Then load the site in your browser.
- Run aa-logprof, and save some changes.
- logprof will have created an additional ^mysite inside the usr.lib.
The perl tools have been deprecated. Please try with the newer python tools in 2.9 and file a new bug if this issue still affects you.