command aa-logprof crashes

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

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>
    apparmor.do_logprof_pass(logmark)
  File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 1816, in do_logprof_pass
    log = log_reader.read_log(logmark)
  File "/usr/lib/python3/dist-packages/apparmor/logparser.py", line 384, in read_log
    self.add_event_to_tree(event)
  File "/usr/lib/python3/dist-packages/apparmor/logparser.py", line 198, in add_event_to_tree
    e = self.parse_event_for_tree(e)
  File "/usr/lib/python3/dist-packages/apparmor/logparser.py", 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/logparser.py", 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 https://bugs.launchpad.net/apparmor/
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