Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: udev-bugs@g.o, base-system@g.o
Subject: [gentoo-dev] [PATCH 00/19] Add acct-group packages for udev-related groups
Date: Sat, 27 Jul 2019 14:25:28
Message-Id: 20190727142517.28120-1-floppym@gentoo.org
1 The systemd and udev ebuilds create three groups: input, kvm, and
2 render. These are used by udev rules to control access to hardware.
3
4 There are several other groups referenced by udev rules, so it makes
5 sense to explicitly depend on them as well.
6
7 The group ids are sourced from sys-apps/baselayout. Where there is a
8 conflict, I favor the id used on Linux over BSD.
9
10 One exception: the 'render' group has never been assigned a static group
11 id, so I picked id 28 to put it next to the 'video' group.
12
13 I also include a few groups used by systemd tmpfiles snippets: adm and
14 wheel are assigned permissions on /var/log/journal, and the utmp group
15 is assigned permissions on several files in /var/log.
16
17 I'm marking systemd@g.o as the maintainer for now. The
18 base-system and udev projects should feel free to add themselves if so
19 desired.
20
21 Reference:
22 https://github.com/systemd/systemd/blob/v242/README#L227
23 https://github.com/systemd/systemd/blob/v242/sysusers.d/basic.conf.in
24
25 Mike Gilbert (19):
26 acct-group/audio: new group (18)
27 acct-group/cdrom: new group (19)
28 acct-group/dialout: new group (20)
29 acct-group/disk: new group (6)
30 acct-group/input: new group (97)
31 acct-group/kvm: new group (78)
32 acct-group/lp: new group (7)
33 acct-group/render: new group (28)
34 acct-group/tape: new group (26)
35 acct-group/video: new group (27)
36 acct-group/kmem: new group (9)
37 acct-group/tty: new group (5)
38 acct-group/adm: new group (4)
39 acct-group/wheel: new group (10)
40 acct-group/utmp: new group (406)
41 sys-apps/systemd: use more acct-group packages
42 sys-apps/systemd: drop patch to replace 'dialout' with 'uucp'
43 sys-fs/udev: use acct-group packages
44 sys-fs/udev: drop patch to replace 'dialout' with 'uucp'
45
46 acct-group/adm/adm-0.ebuild | 8 ++++++++
47 acct-group/adm/metadata.xml | 7 +++++++
48 acct-group/audio/audio-0.ebuild | 8 ++++++++
49 acct-group/audio/metadata.xml | 7 +++++++
50 acct-group/cdrom/cdrom-0.ebuild | 8 ++++++++
51 acct-group/cdrom/metadata.xml | 7 +++++++
52 acct-group/dialout/dialout-0.ebuild | 8 ++++++++
53 acct-group/dialout/metadata.xml | 7 +++++++
54 acct-group/disk/disk-0.ebuild | 8 ++++++++
55 acct-group/disk/metadata.xml | 7 +++++++
56 acct-group/input/input-0.ebuild | 8 ++++++++
57 acct-group/input/metadata.xml | 7 +++++++
58 acct-group/kmem/kmem-0.ebuild | 8 ++++++++
59 acct-group/kmem/metadata.xml | 7 +++++++
60 acct-group/kvm/kvm-0.ebuild | 8 ++++++++
61 acct-group/kvm/metadata.xml | 7 +++++++
62 acct-group/lp/lp-0.ebuild | 8 ++++++++
63 acct-group/lp/metadata.xml | 7 +++++++
64 acct-group/render/metadata.xml | 7 +++++++
65 acct-group/render/render-0.ebuild | 8 ++++++++
66 acct-group/tape/metadata.xml | 7 +++++++
67 acct-group/tape/tape-0.ebuild | 8 ++++++++
68 acct-group/tty/metadata.xml | 7 +++++++
69 acct-group/tty/tty-0.ebuild | 8 ++++++++
70 acct-group/utmp/metadata.xml | 7 +++++++
71 acct-group/utmp/utmp-0.ebuild | 8 ++++++++
72 acct-group/video/metadata.xml | 7 +++++++
73 acct-group/video/video-0.ebuild | 8 ++++++++
74 acct-group/wheel/metadata.xml | 7 +++++++
75 acct-group/wheel/wheel-0.ebuild | 8 ++++++++
76 sys-apps/systemd/systemd-242-r6.ebuild | 21 +++++++++++++++------
77 sys-apps/systemd/systemd-9999.ebuild | 21 +++++++++++++++------
78 sys-fs/udev/udev-242.ebuild | 22 +++++++++++++---------
79 sys-fs/udev/udev-9999.ebuild | 20 +++++++++++++-------
80 34 files changed, 281 insertions(+), 28 deletions(-)
81 create mode 100644 acct-group/adm/adm-0.ebuild
82 create mode 100644 acct-group/adm/metadata.xml
83 create mode 100644 acct-group/audio/audio-0.ebuild
84 create mode 100644 acct-group/audio/metadata.xml
85 create mode 100644 acct-group/cdrom/cdrom-0.ebuild
86 create mode 100644 acct-group/cdrom/metadata.xml
87 create mode 100644 acct-group/dialout/dialout-0.ebuild
88 create mode 100644 acct-group/dialout/metadata.xml
89 create mode 100644 acct-group/disk/disk-0.ebuild
90 create mode 100644 acct-group/disk/metadata.xml
91 create mode 100644 acct-group/input/input-0.ebuild
92 create mode 100644 acct-group/input/metadata.xml
93 create mode 100644 acct-group/kmem/kmem-0.ebuild
94 create mode 100644 acct-group/kmem/metadata.xml
95 create mode 100644 acct-group/kvm/kvm-0.ebuild
96 create mode 100644 acct-group/kvm/metadata.xml
97 create mode 100644 acct-group/lp/lp-0.ebuild
98 create mode 100644 acct-group/lp/metadata.xml
99 create mode 100644 acct-group/render/metadata.xml
100 create mode 100644 acct-group/render/render-0.ebuild
101 create mode 100644 acct-group/tape/metadata.xml
102 create mode 100644 acct-group/tape/tape-0.ebuild
103 create mode 100644 acct-group/tty/metadata.xml
104 create mode 100644 acct-group/tty/tty-0.ebuild
105 create mode 100644 acct-group/utmp/metadata.xml
106 create mode 100644 acct-group/utmp/utmp-0.ebuild
107 create mode 100644 acct-group/video/metadata.xml
108 create mode 100644 acct-group/video/video-0.ebuild
109 create mode 100644 acct-group/wheel/metadata.xml
110 create mode 100644 acct-group/wheel/wheel-0.ebuild
111
112 --
113 2.22.0

Replies