Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: allow -1 for ACCT_USER_ID and ACCT_GROUP_ID in ::gentoo
Date: Wed, 01 Dec 2021 01:32:55
Message-Id: YabQvdYWmoFvz/4O@linux1.home
In Reply to: Re: [gentoo-dev] rfc: allow -1 for ACCT_USER_ID and ACCT_GROUP_ID in ::gentoo by Ulrich Mueller
1 On Tue, Nov 30, 2021 at 12:59:18PM +0100, Ulrich Mueller wrote:
2 > >>>>> On Tue, 30 Nov 2021, James Cloos wrote:
3 >
4 > >>>>> "UM" == Ulrich Mueller <ulm@g.o> writes:
5 > UM> Also, why would one allocate UIDs in the 500..999 range (1000 is fine,
6 > UM> actually)? Gentoo always had UID_MIN=1000 and SYS_UID_MAX=999.
7 >
8 > > why do you thing gentoo is everyone's first or only dist on their
9 > > network?
10 >
11 > > or even on any given box?
12 >
13 > I was specifically asking about Gentoo infra there.
14 >
15 > > forcing existing boxen to change just because a new dist is added
16 > > is also unacceptable.
17 >
18 > > for me though, it would be enough if there is something i can add to
19 > > make.conf to ensure that the acct-user and acct-group builds avoid the
20 > > ranges i already use.
21 >
22 > > that may also work for others.
23 >
24 > UIDs in the range SYS_UID_MIN..SYS_UID_MAX (i.e. 101..999) were always
25 > used for dynamic allocation of system accounts. GLEP 81 hasn't really
26 > changed anything there, except that the ebuild will now suggest an ID to
27 > try first.
28
29 This is the part of this that I don't understand. If we aren't enforcing
30 an ID, why do we care which ID to try first? It seems to be an
31 unnecessary step since users can pick the IDs they want by putting
32 settings in make.conf.
33
34 William

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies