d8307d
commit eed1f6fcdb0526498223ebfe95f91ef5dec2172a
d8307d
Author: Carlos O'Donell <carlos@redhat.com>
d8307d
Date:   Tue Oct 29 11:58:03 2019 -0400
d8307d
d8307d
    Comment out initgroups from example nsswitch.conf (Bug 25146)
d8307d
d8307d
    In commit 4b7c74179c8928d971d370e1137d202f891a4cf5 the nsswitch.conf
d8307d
    file was harmonized with downstream distributions, but this change
d8307d
    included adding "initgroups: files". We should not add initgroups by
d8307d
    default, we can have it, but it should be commented out to allow it
d8307d
    to inherit the settings for group. The problem is principally that
d8307d
    downstream authconfig won't update initgroups and it will get out of
d8307d
    sync with the setting for group.
d8307d
d8307d
diff -Nrup a/nss/nsswitch.conf b/nss/nsswitch.conf
d8307d
--- a/nss/nsswitch.conf	2019-10-29 14:13:15.883199544 -0400
d8307d
+++ b/nss/nsswitch.conf	2019-10-29 14:15:44.860978858 -0400
d8307d
@@ -64,7 +64,8 @@ automount:  files sss
d8307d
 aliases:    files
d8307d
 ethers:     files
d8307d
 gshadow:    files
d8307d
-initgroups: files
d8307d
+# Allow initgroups to default to the setting for group.
d8307d
+# initgroups: files
d8307d
 networks:   files dns
d8307d
 protocols:  files
d8307d
 publickey:  files