The fix I implemented in my system was to add the following check to /usr/lib/python2.7/dist-packages/apparmor/logparser.py, in lines 124:
if rmask and rmask not in [ 'send', 'receive', 'send receive' ]:
Originally it was:
if rmask:
The same in line 130 for dmask. This file comes from python-apparmor package 2.9.2~2886-0ubuntu0.14.04.41 installed from the PPA.
The fix I implemented in my system was to add the following check to /usr/lib/ python2. 7/dist- packages/ apparmor/ logparser. py, in lines 124:
if rmask and rmask not in [ 'send', 'receive', 'send receive' ]:
Originally it was:
if rmask:
The same in line 130 for dmask. This file comes from python-apparmor package 2.9.2~2886- 0ubuntu0. 14.04.41 installed from the PPA.