From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110703 invoked by alias); 29 Oct 2019 17:10:42 -0000 Mailing-List: contact glibc-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: glibc-cvs-owner@sourceware.org List-Subscribe: Received: (qmail 110641 invoked by uid 9587); 29 Oct 2019 17:10:42 -0000 Date: Tue, 29 Oct 2019 17:10:00 -0000 Message-ID: <20191029171042.110639.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Carlos O'Donell To: glibc-cvs@sourceware.org Subject: [glibc] Comment out initgroups from example nsswitch.conf (Bug 25146) X-Act-Checkin: glibc X-Git-Author: Carlos O'Donell X-Git-Refname: refs/heads/master X-Git-Oldrev: 177a3d48a1c74d7b2cd6bfd48901519d25a5ecad X-Git-Newrev: eed1f6fcdb0526498223ebfe95f91ef5dec2172a X-SW-Source: 2019-q4/txt/msg00189.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eed1f6fcdb0526498223ebfe95f91ef5dec2172a commit eed1f6fcdb0526498223ebfe95f91ef5dec2172a Author: Carlos O'Donell Date: Tue Oct 29 11:58:03 2019 -0400 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 for group. The problem is principally that downstream authconfig won't update initgroups and it will get out of sync with the setting for group. Diff: --- nss/nsswitch.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf index f553588..4a6bcb1 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 the setting for group. +# initgroups: files netgroup: files networks: files dns passwd: files