Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages
Date: Fri, 21 Jun 2019 05:59:32
Message-Id: 20190621085908.0f6a515900767930adea7183@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages by "Michał Górny"
1 On Thu, 20 Jun 2019 16:32:56 +0200 Michał Górny wrote:
2 > On Thu, 2019-06-20 at 09:53 -0400, Brian Evans wrote:
3 > > On 6/9/2019 7:39 AM, Michał Górny wrote:
4 > > > +Tracking of user/group usage is done through dependencies. As long
5 > > > +as any installed package depends on a specific user/group package,
6 > > > +the respective user/group is assumed to be used. If no package
7 > > > +requiring the specific user/group is left, the package manager
8 > > > +automatically prunes the package clearly indicating it is no longer
9 > > > +used.
10 > >
11 > > You cannot know when a name is "no longer used". An administrator could
12 > > have adopted a username for other purposes.
13 >
14 > That's why we don't remove the actual user/group. However, this is
15 > a valuable information to the administrator that no package is using
16 > the user/group in question.
17
18 So how do you propose to clean them up? Or let user systems trash
19 with unused uids/gids? The GLEP 81 only mensions some possible
20 tooling for cleanup. Is there an implementation available? I don't
21 see it within proposed patch sets.
22
23 This GLEP should not be accepted unless all necessary tools are
24 available including a cleanup tool.
25
26 Best regards,
27 Andrew Savchenko

Replies