Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: James Cloos <cloos@×××××××.com>
Cc: gentoo-dev@l.g.o, Alec Warner <antarus@g.o>
Subject: Re: [gentoo-dev] rfc: allow -1 for ACCT_USER_ID and ACCT_GROUP_ID in ::gentoo
Date: Tue, 30 Nov 2021 11:59:35
Message-Id: utuftrh0p@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: allow -1 for ACCT_USER_ID and ACCT_GROUP_ID in ::gentoo by James Cloos
1 >>>>> On Tue, 30 Nov 2021, James Cloos wrote:
2
3 >>>>> "UM" == Ulrich Mueller <ulm@g.o> writes:
4 UM> Also, why would one allocate UIDs in the 500..999 range (1000 is fine,
5 UM> actually)? Gentoo always had UID_MIN=1000 and SYS_UID_MAX=999.
6
7 > why do you thing gentoo is everyone's first or only dist on their
8 > network?
9
10 > or even on any given box?
11
12 I was specifically asking about Gentoo infra there.
13
14 > forcing existing boxen to change just because a new dist is added
15 > is also unacceptable.
16
17 > for me though, it would be enough if there is something i can add to
18 > make.conf to ensure that the acct-user and acct-group builds avoid the
19 > ranges i already use.
20
21 > that may also work for others.
22
23 UIDs in the range SYS_UID_MIN..SYS_UID_MAX (i.e. 101..999) were always
24 used for dynamic allocation of system accounts. GLEP 81 hasn't really
25 changed anything there, except that the ebuild will now suggest an ID to
26 try first.
27
28 Ulrich

Attachments

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

Replies