aa-mergeprof: crash in ask_the_question() when calling profile_known_network()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Low
|
Christian Boltz |
Bug Description
aa-mergeprof around line 710, in ask_the_question():
for allow in ['allow', 'deny']:
for family in sorted(
The apparmor.
# python3 ~/apparmor/
Merging profile for /usr/sbin/
Traceback (most recent call last):
File "/home/
main()
File "/home/
act(
File "/home/
mergeprofi
File "/home/
if apparmor.
File "/home/
if netrules_
KeyError: 'abstractions/base'
The reason for the crash is that profile_
By disabling the profile_
(Note to myself: this is easily reproducable with the profiles from da2.)
Related branches
summary: |
aa-mergeprof: crash in ask_the_question() when calling - profile_known_host() + profile_known_network() |
Changed in apparmor: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in apparmor: | |
assignee: | nobody → Christian Boltz (cboltz) |
status: | Triaged → Fix Committed |
milestone: | none → 2.10 |
for the records - with the NetworkRule / NetworkRuleset classes, is_known_rule() needs to be called instead of profile_ known_network( ). I didn't test yet if this also crashes ;-)