← Back to team overview

touch-packages team mailing list archive

[Bug 1445219] Re: aa-logprof hangs indefinitely in Ubuntu 14.04 LTS

 

I've attached the selective audit.log generated with the grep command
above.

Here's the backtrace I got when hitting Ctrl-C:

Reading log entries from /var/log/audit/audit.log.
Updating AppArmor profiles in /etc/apparmor.d.
^CTraceback (most recent call last):
  File "/usr/sbin/aa-logprof", line 52, in <module>
    apparmor.do_logprof_pass(logmark)
  File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2257, in do_logprof_pass
    log = log_reader.read_log(logmark)
  File "/usr/lib/python3/dist-packages/apparmor/logparser.py", line 359, in read_log
    event = self.parse_log_record(line)
  File "/usr/lib/python3/dist-packages/apparmor/logparser.py", line 93, in parse_log_record
    record_event = self.parse_event(record)
  File "/usr/lib/python3/dist-packages/apparmor/logparser.py", line 139, in parse_event
    mask, name = log_str_to_mode(ev['profile'], dmask, ev['name2'])
  File "/usr/lib/python3/dist-packages/apparmor/aamode.py", line 254, in log_str_to_mode
    mode = str_to_mode(string)
  File "/usr/lib/python3/dist-packages/apparmor/aamode.py", line 79, in str_to_mode
    mode = sub_str_to_mode(user)
  File "/usr/lib/python3/dist-packages/apparmor/aamode.py", line 95, in sub_str_to_mode
    string = MODE_MAP_RE.sub('', string, 1)
KeyboardInterrupt


** Attachment added: "audit.log"
   https://bugs.launchpad.net/apparmor/+bug/1445219/+attachment/4380206/+files/audit.log

-- 
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/1445219

Title:
  aa-logprof hangs indefinitely in Ubuntu 14.04 LTS

Status in AppArmor Linux application security framework:
  Incomplete
Status in apparmor package in Ubuntu:
  New

Bug description:
  Currently, aa-logprof hangs indefinitely in Ubuntu 14.04 LTS.  This is
  with kernel 3.13.0-39-generic, on x86_64.  The version of apparmor
  installed is:

  apparmor 2.8.95~2430-0ubuntu5.1
  apparmor-utils 2.8.95~2430-0ubuntu5.1

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