Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] acct-*.eclass: Allow dynamic UID/GID assignment via -1
Date: Wed, 07 Aug 2019 17:29:11
Message-Id: bfe39b9b-3566-4bb9-b52e-ba7b8f830847@gentoo.org
In Reply to: [gentoo-dev] [PATCH] acct-*.eclass: Allow dynamic UID/GID assignment via -1 by "Michał Górny"
1 On 8/7/19 1:10 PM, Michał Górny wrote:
2 >
3 > Using '999' was also suggested (as the first dynamic
4 > UID/GID) but it would cause issues for people enabling
5 > ACCT_*_ENFORCE_ID. To avoid this, '-1' does not trigger collision
6 > checks.
7 >
8
9 Feel free to proceed with this, I'm just curious: what's the problem
10 with 999 and enforced IDs?
11
12
13 > +#
14 > +# Overlays should set this to -1 to dynamically allocate GID. Using -1
15 > +# in ::gentoo is prohibited by policy.
16 >
17
18 Should say "UID" in the user eclass.

Replies