This was fixed in 2.13.3-5ubuntu1 in Ubunt 19.10

** Also affects: apparmor (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: apparmor (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1840582

Title:
  aa-genprof crash

Status in AppArmor:
  Fix Released
Status in apparmor package in Ubuntu:
  Fix Released

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/aa-genprof", line 163, in <module>
      lp_ret = apparmor.do_logprof_pass(logmark, passno)
    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!

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1840582/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to