aa-cleanprof only cleans based on program name, not profile

Bug #1443594 reported by Steve Beattie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
Confirmed
Undecided
Unassigned

Bug Description

ubuntu@vivid-amd64:~/bzr/apparmor/utils$ ls -l ~/tmp/aa-test/
total 12
drwxr-xr-x 5 ubuntu ubuntu 4096 Mar 9 10:54 abstractions
-rw-rw-r-- 1 ubuntu ubuntu 147 Apr 13 11:25 profile.sd
drwxr-xr-x 5 ubuntu ubuntu 4096 Mar 9 10:54 tunables

ubuntu@vivid-amd64:~/bzr/apparmor/utils$ cat ~/tmp/aa-test/profile.sd
#include <tunables/global>

profile audit-exec {
  #include <abstractions/base>

  audit /bin/true ix,
  capability setuid,
  capability setuid,
}

ubuntu@vivid-amd64:~/bzr/apparmor/utils$ PYTHONPATH=. ./aa-cleanprof -d ~/tmp/aa-test/ ~/tmp/aa-test/profile.sd
/home/ubuntu/tmp/aa-test/profile.sd does not exist, please double-check the path.

Tags: aa-tools
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.