apparmor-utils fail with code exception "AttributeError: 'collections.defaultdict' object has no attribute 'startswith'" 2/4

Bug #1848224 reported by Guillaume B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
New
Undecided
Unassigned

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-disable here. The ohter bug reports are in corresponding messages.

Please tell me if more command bug logs are needed.

Thanks.

Revision history for this message
Guillaume B (gueb1) wrote :
summary: apparmor-utils fail with code exception "AttributeError:
- 'collections.defaultdict' object has no attribute 'startswith'"
+ 'collections.defaultdict' object has no attribute 'startswith'" 2/4
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.