[apparmor] [patch] smbd - /etc/netgroup

Christian Boltz apparmor at cboltz.de
Wed Dec 21 18:06:44 UTC 2011


Hello,

smbd needs read access to /etc/netgroup.

References: https://bugzilla.novell.com/show_bug.cgi?id=738041

I noticed the 2.7.0 release was tagged some days ago and I just see it's 
available for download on launchpad, but OTOH I never saw a release 
announcement for it. What's the current status? Is just the release 
announcement and wiki update missing?

I propose the patch for trunk and the 2.7 branch.

=== modified file 'profiles/apparmor.d/usr.sbin.smbd'
--- profiles/apparmor.d/usr.sbin.smbd   2011-11-01 17:28:49 +0000
+++ profiles/apparmor.d/usr.sbin.smbd   2011-12-21 17:52:32 +0000
@@ -21,6 +21,7 @@
   capability sys_tty_config,
 
   /etc/mtab r,
+  /etc/netgroup r,
   /etc/printcap r,
   /proc/*/mounts r,
   /proc/sys/kernel/core_pattern r,





Regards,

Christian Boltz
-- 
Nicht nur Schoenheit, sondern auch Schweinkram liegt ausschliesslich
im Auge des Betrachters.
[Kristian Koehntopp zur Aussage "frauen sind gut zu voegeln" in
http://groups.google.com/groups?selm=3ejajb$ekj@picard.toppoint.de]




More information about the AppArmor mailing list