From patchwork Tue Oct 29 16:07:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 1186173 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-106431-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="q7C2N7mQ"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 472c1s48F6z9sPK for ; Wed, 30 Oct 2019 03:08:01 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=GjJ 0F/0e1Q7Mjg4wyHH621waJfm7UxFJxj8uTa8Z3HIiVKTpxoww8jytd34AEi/E6Om JghYH0NmHAPpO5+cUtH9ikEmgN/9KVirM1dTFMSkm8ICbznoXVMVI2YwS9wQGFOa L0WJRzLcOwR6lEVEYJnh121eZOny4985p1YKU2io= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=FFbF2oges 8ropkw9m7fNE7dkH/Q=; b=q7C2N7mQS96NwYaqEenrQ+oReU/NLBa+8+AxOiM6b V+5X8XuDy83gDohTKgcVjos8uk7FSDaV5KmQOXTC09W6gwmGfcWQ0HPC7A6+dDwZ CwvVIaeGgm4nG/asPoYleD98aB9Rcw3ooF8xxmf4FU0+k5+xyGBYSUBs9GiF+blK 7o= Received: (qmail 110947 invoked by alias); 29 Oct 2019 16:07:55 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 110937 invoked by uid 89); 29 Oct 2019 16:07:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:932, networks X-HELO: mx1.redhat.com To: libc-alpha , Florian Weimer From: Carlos O'Donell Subject: [PATCH] Comment out initgroups from example nsswitch.conf (Bug 25146) Message-ID: Date: Tue, 29 Oct 2019 12:07:48 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 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