Gentoo Archives: gentoo-dev

From: Peter Stuge <peter@×××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] A script to pick next free UID/GID for your acct-* packages
Date: Tue, 09 Feb 2021 17:52:28
Message-Id: 20210209175145.23227.qmail@stuge.se
In Reply to: [gentoo-dev] A script to pick next free UID/GID for your acct-* packages by Joonas Niilola
1 Joonas Niilola wrote:
2 > There's a script by jkroon in data/api.git
3 > (https://gitweb.gentoo.org/data/api.git/) that prints the next available
4 > UID/GID pair for new acct-* packages.
5
6 This is super nice! Thanks a lot jkroon!
7
8
9 > It is not forbidden to mix and mash UID/GID between different packages,
10 > but I'd still suggest to find a new "pair" even if you push just an UID
11 > or GID. Since we don't seem to be in danger of running out any time soon.
12
13 Mh - so the obvious first feature request for the script is to also output
14 Free UID+GID pairs. Counting them manually in your screenshot I get 36.
15
16 That's not a whole lot; just 7% of 500.
17
18
19 //Peter

Replies