This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Comment out initgroups from example nsswitch.conf (Bug 25146)
- From: Carlos O'Donell <carlos at redhat dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>, Florian Weimer <fweimer at redhat dot com>
- Date: Tue, 29 Oct 2019 12:07:48 -0400
- Subject: [PATCH] Comment out initgroups from example nsswitch.conf (Bug 25146)
In commit 4b7c74179c8928d971d370e1137d202f891a4cf5 the nsswitch.conf
file was harmonized with downstream distributions, but this change
included adding "initgroups: files". We should not add initgroups by
default, we can have it, but it should be commented out to allow it
to inherit the settings from groups. The problem is principally that
downstream authconfig won't update initgroups and it will get out of
sync with groups.
---
nss/nsswitch.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf
index f553588114..9156af32ea 100644
--- a/nss/nsswitch.conf
+++ b/nss/nsswitch.conf
@@ -58,7 +58,8 @@ ethers: files
group: files
gshadow: files
hosts: files dns
-initgroups: files
+# Allow initgroups to default to groups.
+# initgroups: files
netgroup: files
networks: files dns
passwd: files
--
2.21.0