Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments
Date: Mon, 25 Nov 2019 20:28:26
Message-Id: 20191125202810.0bbecdf5@sf
In Reply to: Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments by David Seifert
1 On Mon, 25 Nov 2019 17:24:08 +0100
2 David Seifert <soap@g.o> wrote:
3
4 > On Sun, 2019-11-24 at 20:35 +0000, Sergei Trofimovich wrote:
5 > > On Sun, 24 Nov 2019 17:19:36 +0100
6 > > Ulrich Mueller <ulm@g.o> wrote:
7 > >
8 > > > > > > > > On Sun, 24 Nov 2019, Sergei Trofimovich wrote:
9 > > > > I interpreted 'reserved' as 'free to use' on
10 > > > >
11 > > > > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment
12 > > > > Can you tweak it to someting other than 'reserved' so it would be
13 > > > > clear?
14 > > >
15 > > > That's what the "Notes" column was intended for.
16 > > >
17 > > > > I'll use 60001 .. 60999 / 61001 .. 61999. Is it free though?
18 > > > > '60001..65533' claims to also be 'reserved' as well.
19 > > >
20 > > > Debian is also using the range above 60000 for allocations that
21 > > > won't
22 > > > fit into the low range. Theoretically, there is some overlap with
23 > > > systemd dynamic users (61184..65519), but IIUC assigning other UIDs
24 > > > in
25 > > > that range isn't a problem, as long as there are enough free IDs
26 > > > left.
27 > > >
28 > > > Another question, the above are about 2000 users and 2000 groups.
29 > > > Does that imply that we will eventually end up with 4000 packages
30 > > > in acct-{user,group}?
31 > >
32 > > Should be 2000 users, 2 groups. Worst case it's 2002 packages, yes.
33 > >
34 >
35 > For a package manager that likely only 3 Gentoo users in the world use?
36
37 I'll avoid debating you scientific method of deriving that number.
38 What is your threshold? 10 users? 1000 users? 100000 users?
39
40 > I don't consider that particularly helpful, and am very much inclined
41 > to oppose that.
42
43 I'm fine with current use of user.eclass if QA grants nix and guix an
44 exception to use user.eclass indefinitely instead of GLEP-81 layout.
45
46 --
47
48 Sergei

Replies

Subject Author
Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments "Michał Górny" <mgorny@g.o>