[apparmor] [patch] UsrMove /bin/ls -> /usr/bin/ls

Christian Boltz apparmor at cboltz.de
Sun Aug 5 16:12:37 UTC 2012


Hello,

abstractions/bash is the next UsrMove "victim" on openSUSE ;-)

I propose the following patch for trunk and 2.8.

=== modified file 'profiles/apparmor.d/abstractions/bash'
--- profiles/apparmor.d/abstractions/bash       2010-12-20 20:29:10 +0000
+++ profiles/apparmor.d/abstractions/bash       2012-08-05 15:46:47 +0000
@@ -40,5 +40,5 @@
 
   # run out of /etc/bash.bashrc
   /etc/DIR_COLORS                  r,
-  /bin/ls                          mix,
+  /{usr/,}bin/ls                   mix,
   /usr/bin/dircolors               mix,


Regards,

Christian Boltz
-- 
> [creating ARCHIVES.gz] I asume there is a script for this and
> it would be nice to bring this out in the open.
Thats black autobuild magic ;-)
Our chief autobuild vodoo priest is on vacation currently, [...]
[> houghi and Klaus Kaempf in opensuse]




More information about the AppArmor mailing list