aa-logprof: apparmor.common.AppArmorBug: Passed unknown <class 'NoneType'> object to PtraceRule: None
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Christian Boltz | ||
2.11 |
Fix Released
|
Undecided
|
Christian Boltz |
Bug Description
I was developing wine-staging profiles and running `aa-logprof` (2.11.0-10 on Debian Testing) I got this crash:
Traceback (most recent call last):
File "/usr/sbin/
apparmor.
File "/usr/lib/
collapse_log()
File "/usr/lib/
ptrace_event = PtraceRule(access, peer, log_event=True)
File "/usr/lib/
self.access, self.all_access, unknown_items = check_and_
File "/usr/lib/
{'type': type(lst), 'classname': classname, 'unknown_object': str(lst)})
apparmor.
Audit log attached.
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
Changed in apparmor: | |
status: | Fix Released → Fix Committed |
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
This is already fixed upstream :-) (trunk r3661, 2.11 branch r3660)
timestamp: Sat 2017-05-20 01:05:33 +0200
message:
Ignore ptrace log events without denied_mask
This fixes a crash in the tools.