Allow /var/lib/extrausers/group and /var/lib/extrausers/passwd 'read' in order
to work with libnss-extrausers

Acked-By: Jamie Strandboge <[email protected]>

-- 
Jamie Strandboge                 http://www.ubuntu.com/
Author: Jamie Strandboge <[email protected]>
Description: allow /var/lib/extrausers/group and /var/lib/extrausers/passwd
 read to work with libnss-extrausers

Index: apparmor-2.8.96~2541/profiles/apparmor.d/abstractions/nameservice
===================================================================
--- apparmor-2.8.96~2541.orig/profiles/apparmor.d/abstractions/nameservice	2014-06-19 19:03:45.000000000 -0500
+++ apparmor-2.8.96~2541/profiles/apparmor.d/abstractions/nameservice	2014-07-28 08:16:26.420419006 -0500
@@ -21,6 +21,11 @@
   /etc/passwd             r,
   /etc/protocols          r,
 
+  # When using libnss-extrausers, the passwd and group files are merged from
+  # an alternate path
+  /var/lib/extrausers/group  r,
+  /var/lib/extrausers/passwd r,
+
   # When using sssd, the passwd and group files are stored in an alternate path
   # and the nss plugin also needs to talk to a pipe
   /var/lib/sss/mc/group   r,

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to