Hello,

let me compile 20 minutes of discussions into the addition of a   #   ;-)


Change aa-complain / set_complain() to (only) add the complain flag. 
We don't need to additionally create a force-complain symlink.

=== modified file 'utils/apparmor/aa.py'
--- utils/apparmor/aa.py        2014-02-24 19:56:28 +0000
+++ utils/apparmor/aa.py        2014-02-24 23:11:32 +0000
@@ -257,7 +257,8 @@
 def set_complain(filename, program):
     """Sets the profile to complain mode"""
     aaui.UI_Info(_('Setting %s to complain mode.') % program)
-    create_symlink('force-complain', filename)
+    # a force-complain symlink is more packaging-friendly, but breaks caching
+    # create_symlink('force-complain', filename)
     change_profile_flags(filename, program, 'complain', True)
 
 def set_enforce(filename, program):



Regards,

Christian Boltz
-- 
Ich habe ein update für 2.0.1 released, welches die Änderung im Makefile
auf die alte Version zurück"portiert" (Was für ein großes Wort für zwei
Anführungsstriche).  [Ratti in fontlinge-devel - nach Änderung von zwei 
»'« zu »"« in einem Makefile]


-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to