[apparmor] [patch] abstractions/winbind doens't work with /usr/lib64/

Christian Boltz apparmor at cboltz.de
Tue Nov 1 15:57:44 UTC 2011


Hello,

while grepping through the profiles, I noticed that abstractions/winbind 
contains 
  /usr/lib/samba/valid.dat    r,
  /usr/lib/samba/upcase.dat   r,
  /usr/lib/samba/lowcase.dat  r,

Those files are in /usr/lib64/samba on my system...

Proposed patch:

=== modified file 'profiles/apparmor.d/abstractions/winbind'
--- profiles/apparmor.d/abstractions/winbind    2010-12-20 20:29:10 
+++ profiles/apparmor.d/abstractions/winbind    2011-11-01 15:56:49
@@ -13,7 +13,7 @@
   /tmp/.winbindd/pipe  rw,
   /var/{lib,run}/samba/winbindd_privileged/pipe rw,
   /etc/samba/smb.conf         r,
-  /usr/lib/samba/valid.dat    r,
-  /usr/lib/samba/upcase.dat   r,
-  /usr/lib/samba/lowcase.dat  r,
+  /usr/lib*/samba/valid.dat   r,
+  /usr/lib*/samba/upcase.dat  r,
+  /usr/lib*/samba/lowcase.dat r,



Regards,

Christian Boltz
-- 
Intel kauft McAfee. [...] Der Synergieeffekt ist offensichtlich. 
McAfee macht Computer so langsam, dass man eine neue Intel-CPU braucht.
Ähnliche Synergieeffekte gibt es zwischen [...] Computerspielen und
Grafikkartenbedarf und zwischen Webforen und Tischkantenbedarf.
[http://blog.fefe.de/?ts=b2935cd1]




More information about the AppArmor mailing list