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:38:24
Message-Id: 20191125203815.51d2c7c2@sf
In Reply to: Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments by "Michał Górny"
1 On Mon, 25 Nov 2019 21:32:18 +0100
2 Michał Górny <mgorny@g.o> wrote:
3
4 > On Mon, 2019-11-25 at 20:28 +0000, Sergei Trofimovich wrote:
5 > > On Mon, 25 Nov 2019 17:24:08 +0100
6 > > David Seifert <soap@g.o> wrote:
7 > >
8 > > > On Sun, 2019-11-24 at 20:35 +0000, Sergei Trofimovich wrote:
9 > > > > On Sun, 24 Nov 2019 17:19:36 +0100
10 > > > > Ulrich Mueller <ulm@g.o> wrote:
11 > > > >
12 > > > > > > > > > > On Sun, 24 Nov 2019, Sergei Trofimovich wrote:
13 > > > > > > I interpreted 'reserved' as 'free to use' on
14 > > > > > >
15 > > > > > > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment
16 > > > > > > Can you tweak it to someting other than 'reserved' so it would be
17 > > > > > > clear?
18 > > > > >
19 > > > > > That's what the "Notes" column was intended for.
20 > > > > >
21 > > > > > > I'll use 60001 .. 60999 / 61001 .. 61999. Is it free though?
22 > > > > > > '60001..65533' claims to also be 'reserved' as well.
23 > > > > >
24 > > > > > Debian is also using the range above 60000 for allocations that
25 > > > > > won't
26 > > > > > fit into the low range. Theoretically, there is some overlap with
27 > > > > > systemd dynamic users (61184..65519), but IIUC assigning other UIDs
28 > > > > > in
29 > > > > > that range isn't a problem, as long as there are enough free IDs
30 > > > > > left.
31 > > > > >
32 > > > > > Another question, the above are about 2000 users and 2000 groups.
33 > > > > > Does that imply that we will eventually end up with 4000 packages
34 > > > > > in acct-{user,group}?
35 > > > >
36 > > > > Should be 2000 users, 2 groups. Worst case it's 2002 packages, yes.
37 > > > >
38 > > >
39 > > > For a package manager that likely only 3 Gentoo users in the world use?
40 > >
41 > > I'll avoid debating you scientific method of deriving that number.
42 > > What is your threshold? 10 users? 1000 users? 100000 users?
43 >
44 > Could you provide some numbers on performance impact of having that many
45 > users? In particular on systems using plain text passwd database.
46 >
47 > >
48 > > > I don't consider that particularly helpful, and am very much inclined
49 > > > to oppose that.
50 > >
51 > > I'm fine with current use of user.eclass if QA grants nix and guix an
52 > > exception to use user.eclass indefinitely instead of GLEP-81 layout.
53 >
54 > I would rather be inclined to give nix and guix a special privilege of
55 > being moved to an overlay. It seems so far that they are unjustly
56 > trying to assume growing number of privileges they have no claim for,
57 > and trying to run their own non-Gentoo shop inside Gentoo for no good
58 > reason.
59
60 As always great choice of words. So be it.
61
62 --
63
64 Sergei