Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: don't modify existing user by default
Date: Mon, 04 Jan 2021 16:28:46
Message-Id: bb29b94b8eb17c168802acb842cd025d546aa091.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] acct-user.eclass: don't modify existing user by default by Thomas Deutschmann
1 On Mon, 2021-01-04 at 17:18 +0100, Thomas Deutschmann wrote:
2 > On 2021-01-04 16:55, David Seifert wrote:
3 > > This is what we agree on. We need an escape hatch, and it needs to be
4 > > off by default. Any sysadmin overriding it gets to keep the pieces, but
5 > > they need to have that option.
6 >
7 > See Mike's example again.
8 >
9 > In last chapter of Gentoo's handbook (Finalization) we recommend user to
10 > call 'usermod' to put themselves into important groups like wheel or
11 > portage.
12 >
13 > Now guess what's happening? Whenever acct-user/portage will get
14 > remerged, PM will remove that user from portage group (luckily groups
15 > like wheel don't have users...).
16
17 It must be a bug in your version of the eclass. I've just reemerged
18 acct-group/wheel and to *my great surprise* I'm still there. How
19 unexpected!
20
21
22 --
23 Best regards,
24 Michał Górny

Replies