aa-mergeprof: act() mergeprofiles.clear_common() call crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Low
|
Christian Boltz |
Bug Description
aa-mergeprof around line 120:
def act(files, merge_mode, merging_profile):
mergeprofiles = Merge(files)
#Get rid of common/superfluous stuff
mergeprofil
crashes with
Traceback (most recent call last):
File "/home/
main()
File "/home/
act(
File "/home/
mergeprofi
File "/home/
deleted += user_base.
File "/home/
deleted += self.remove_
File "/home/
deleted += delete_
File "/home/
profile_
KeyError: '/etc/postfix/
As a workaround, I temporarily disabled the mergeprofiles.
Changed in apparmor: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
Fixed (calling clear_common() re-enabled) in r3542 as part of the FileRule patch series.