Gentoo Archives: gentoo-dev

From: Jaco Kroon <jaco@××××××.za>
To: gentoo-dev@l.g.o, "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-dev] RFC acct-{user,group} for asterisk
Date: Sun, 10 Nov 2019 17:36:57
Message-Id: df8f4f99-3888-e81d-ed20-0196254ee4b2@uls.co.za
In Reply to: Re: [gentoo-dev] RFC acct-{user,group} for asterisk by "Michał Górny"
1 Hi Michał,
2
3 You're right.
4
5 Fedora and RHEL has gdm on 42, we don't have gdm via acct-{user,group}
6 and it's dynamic in the ebuild.
7
8 Arch has privoxy user on 42.  We also don't have acct-{user,group} for
9 that, enewgroup + user is both dynamic in ebuild.
10
11 What's the motivation for trying to match the UID and GID values from
12 other distributions?
13
14 I previously tried to motivate a "purely dynamic" allocation with -1,
15 I'm showing this as an example where such an implementation would once
16 more be beneficial.
17
18 On a similar note, GLEP 27 allowed for overriding config variables
19 here.  Never got implemented.  GLEP 81 does not.  Oversight or (as per
20 my suspicion) exclusion to keep things simpler?
21
22 Would 142 be acceptable?
23
24 Only conflict seems to be activemq on Fedora (which we don't seem to have).
25
26 Otherwise 242 seems to be completely available.
27
28 I don't particularly care what the exact value ends up being, 42 would
29 have been a sweet one due to the ascii value of * being 42.
30
31
32 Kind Regards,
33 Jaco Kroon
34
35 On 2019/11/10 18:31, Michał Górny wrote:
36
37 > On Sun, 2019-11-10 at 18:23 +0200, Jaco Kroon wrote:
38 >> Hi,
39 >>
40 >> As part of taking maintainership of the net-misc/asterisk package (and
41 >> related), one of the cleanup items is to use the new acct-{user,group}
42 >> method for assigning UID and GID values.
43 >>
44 >> As such I'd like to please reserve UID and GID = 42 for asterisk.
45 >>
46 >> Why 42?
47 >>
48 >> echo -e "\x$(bc <<<"obase=16; 42")"
49 >>
50 >> Current net-misc/asterisk uses a dynamically assigned UID and GID value.
51 >>
52 >> I do not have permission to edit
53 >> https://wiki.gentoo.org/wiki/UID_GID_Assignment_Table
54 >> (https://api.gentoo.org/uid-gid.txt).
55 >>
56 >> Neither RHEL nor Fedora seems to have an asterisk user.  Arch uses 77.
57 >> We already have qemu on 77.
58 >>
59 >
60 > Other distros use 42 for something else, particularly for stuff we have
61 > as well.
62 >

Replies

Subject Author
Re: [gentoo-dev] RFC acct-{user,group} for asterisk Michael Orlitzky <mjo@g.o>