[apparmor] [patch] fix "Invalid mode found: AUDITING" in aa-logprof / logparser.py

Christian Boltz apparmor at cboltz.de
Wed Aug 20 11:38:40 UTC 2014


Hello,

this patch fixes "Invalid mode found: AUDITING" in aa-logprof. Actually 
the fix is done in logparser.py which contained "AUDITING" instead of 
"AUDIT" at one place.

References: https://bugs.launchpad.net/apparmor/+bug/1358705


=== modified file 'utils/apparmor/logparser.py'
--- utils/apparmor/logparser.py 2014-08-18 19:01:38 +0000
+++ utils/apparmor/logparser.py 2014-08-20 11:26:09 +0000
@@ -151,7 +151,7 @@
             # Convert aamode values to their counter-parts
             mode_convertor = {0: 'UNKNOWN',
                               1: 'ERROR',
-                              2: 'AUDITING',
+                              2: 'AUDIT',
                               3: 'PERMITTING',
                               4: 'REJECTING',
                               5: 'HINT',


Regards,

Christian Boltz
-- 
>> I was already 21 when color tv got introduced in Germany...
> Old Fart, ain't cha?  <grin>....
Oh no. Linux is keeping you young, and OpenSUSE even can make younger.
SUSE people, please tell this your marketing team. ;-))
[Eberhard Moenkeberg and > Patrick Shanahan in opensuse]




More information about the AppArmor mailing list