command aa-logprof crashes

Bug #1884756 reported by Anurag Vohra on 2020-06-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Reading log entries from /var/log/syslog.
Updating AppArmor profiles in /etc/apparmor.d.
Traceback (most recent call last):
  File "/usr/sbin/aa-logprof", line 56, in <module>
  File "/usr/lib/python3/dist-packages/apparmor/", line 1816, in do_logprof_pass
    log = log_reader.read_log(logmark)
  File "/usr/lib/python3/dist-packages/apparmor/", line 384, in read_log
  File "/usr/lib/python3/dist-packages/apparmor/", line 198, in add_event_to_tree
    e = self.parse_event_for_tree(e)
  File "/usr/lib/python3/dist-packages/apparmor/", line 246, in parse_event_for_tree
    if profile != 'null-complain-profile' and not self.profile_exists(profile):
  File "/usr/lib/python3/dist-packages/apparmor/", line 457, in profile_exists
    raise AppArmorBug('This should never happen, please open a bugreport!')
apparmor.common.AppArmorBug: This should never happen, please open a bugreport!

An unexpected error occoured!

For details, see /tmp/apparmor-bugreport-1lg2osm6.txt
Please consider reporting a bug at
and attach this file.

Anurag Vohra (anuragvohra) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments