apparmor-utils fail with code exception "AttributeError: 'collections.defaultdict' object has no attribute 'startswith'" 4/4
Bug #1848227 reported by
Guillaume B
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Christian Boltz |
Bug Description
Hello,
I am on Debian Buster 10.1 running apparmor 2.13.2-10 and apparmor-utils 2.13.2-10.
When trying to use the commands aa-complain, aa-disable, aa-enforce and aa-logprof, the code throws an exception and the commands fail. Downgrading to apparmor-utils 2.11.0-3+deb9u2 and python3-apparmor 2.11.0-3+deb9u2 (Debian oldstable) makes aa-enforce and aa-complain work but aa-logprof still fails.
Since only one file at a time can be attached to a message, I have attached the file for aa-logprof here. The ohter bug reports are in corresponding messages.
Please tell me if more command bug logs are needed.
Thanks.
To post a comment you must log in.
Thanks for the reports!
According to the logs, all crashes are caused by the /etc/apparmor. d/usr.sbin. cupsd profile. Can you please attach that file?