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