aa-genprof crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Unassigned | ||
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
I run aa-genprof against an executable link (( #!/usr/bin/env ./script.sh )), that run a bash script, that run firefox bin.
Because aa-genprof seems not to see the firefox run, I pressed (S)can two or three times.
At the last time I have the following error:
[(S)can system log for AppArmor events] / (F)inish
Reading log entries from /var/log/syslog.
Traceback (most recent call last):
File "/usr/sbin/
lp_ret = apparmor.
File "/usr/lib/
log = log_reader.
File "/usr/lib/
self.
File "/usr/lib/
e = self.parse_
File "/usr/lib/
if profile != 'null-complain-
File "/usr/lib/
raise AppArmorBug('This should never happen, please open a bugreport!')
apparmor.
An unexpected error occoured!
This was already fixed upstream, see https:/ /gitlab. com/apparmor/ apparmor/ merge_requests/ 296 for details and the patch. Master as well as the latest 2.12.3 and 2.13.3 releases include the fix. Therefore I'll close this bugreport as fixed (but still read additional comments).
Which distribution do you use? It might be a good idea to ask for a maintenance update (with 2.12.3 or 2.13.3) to get this and other bugs fixed ;-)
> Because aa-genprof seems not to see the firefox run, I pressed (S)can two or three times.
I'd guess you had too many log events and the audit.log was rotated away in the meantime.