Hello, this patch changes aa-notify parse_message() to also honor complain mode log events. This affects both modes - desktop notifications and the summary report.
[ aa-notify-complain.diff ] === modified file utils/aa-notify --- utils/aa-notify 2013-07-05 20:40:57.568842000 +0200 +++ utils/aa-notify 2015-04-27 00:15:26.934244388 +0200 @@ -262,7 +262,9 @@ # ignore all but status and denied messages my $type = LibAppArmor::aa_log_record::swig_event_get($test); - $type == $LibAppArmor::AA_RECORD_DENIED or goto err; + if ($type != $LibAppArmor::AA_RECORD_DENIED and $type != $LibAppArmor::AA_RECORD_ALLOWED) { + goto err; + } my $profile = LibAppArmor::aa_log_record::swig_profile_get($test); my $operation = LibAppArmor::aa_log_record::swig_operation_get($test); Regards, Christian Boltz -- Ausgaben mit einer 0 sind ok, es sei denn sie sind es nicht. [Thorsten Haude in suse-linux] -- AppArmor mailing list AppArmor@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor