Gentoo Archives: gentoo-dev

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

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments Sergei Trofimovich <slyfox@g.o>