From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C28B1382C5 for ; Mon, 4 Jan 2021 16:28:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF5ACE09D0; Mon, 4 Jan 2021 16:28:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72855E0999 for ; Mon, 4 Jan 2021 16:28:42 +0000 (UTC) Message-ID: Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: don't modify existing user by default From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Mon, 04 Jan 2021 17:28:37 +0100 In-Reply-To: <6876f32c-5ea8-5c99-41c1-7c8963f5a976@gentoo.org> References: <20210104013558.20072-1-whissi@gentoo.org> <60fac781-e080-999c-e83e-c657d5b89d18@gentoo.org> <4ca9ea6d4b2c2f0f7c29319d2c0015e2fec2b773.camel@gentoo.org> <6876f32c-5ea8-5c99-41c1-7c8963f5a976@gentoo.org> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 090435e8-cd36-4c0e-88bd-9724a7b3609d X-Archives-Hash: 451b9f8a48f10abf6f99cbc24e0de9ea On Mon, 2021-01-04 at 17:18 +0100, Thomas Deutschmann wrote: > On 2021-01-04 16:55, David Seifert wrote: > > This is what we agree on. We need an escape hatch, and it needs to be > > off by default. Any sysadmin overriding it gets to keep the pieces, but > > they need to have that option. > > See Mike's example again. > > In last chapter of Gentoo's handbook (Finalization) we recommend user to > call 'usermod' to put themselves into important groups like wheel or > portage. > > Now guess what's happening? Whenever acct-user/portage will get > remerged, PM will remove that user from portage group (luckily groups > like wheel don't have users...). It must be a bug in your version of the eclass. I've just reemerged acct-group/wheel and to *my great surprise* I'm still there. How unexpected! -- Best regards, Michał Górny