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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1445219
Title:
aa-logprof hangs indefinitely in Ubuntu 14.04 LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1445219/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs