Comment 6 for bug 1466812

Revision history for this message
Christian Boltz (cboltz) wrote :

This log line is enough to reproduce the crash:

Jun 19 12:00:55 piorun kernel: [4475115.459952] audit: type=1400 audit(1434708055.676:19629): apparmor="ALLOWED" operation="file_perm" profile="/usr/sbin/apache2" pid=3512 comm="apache2" laddr=::ffff:193.0.236.159 lport=80 faddr=::ffff:192.168.103.80 fport=61985 family="inet6" sock_type="stream" protocol=6

which is parsed to (output of "print(e)"):
{'attr': None, 'pid': 3512, 'operation': 'file_perm', 'aamode': 'PERMITTING', 'active_hat': None, 'magic_token': 0, 'name': None, 'name2': None, 'info': None, 'profile': '/usr/sbin/apache2', 'request_mask': None, 'error_code': 0, 'task': 0, 'time': 1434708055, 'parent': 0, 'denied_mask': None, 'resource': None}

operation 'file_perm' means logparser.py will use the file-related code - but for obvious reasons, that's impossible with request_mask, denied_mask, name and name2 all being None.