Users and groups kept after a port deinstallation

David DEMELIER demelier.david at gmail.com
Sat May 22 07:32:31 UTC 2010


2010/5/22 Garrett Cooper <yanefbsd at gmail.com>:
> On Fri, May 21, 2010 at 4:53 PM, RW <rwmaillists at googlemail.com> wrote:
>> On Fri, 21 May 2010 16:23:18 +0100
>> Florent Thoumie <flz at xbsd.org> wrote:
>>
>>> On Fri, May 21, 2010 at 11:11 AM, David DEMELIER
>>> <demelier.david at gmail.com> wrote:
>>> > Hi,
>>> >
>>> > I used pkgsrc for a while on NetBSD. I was used to the pkgsrc
>>> > notifications about the users and groups leaves, when some ports are
>>> > removed these leaves are not used anymore. e.g pulseaudio needs some
>>> > users on the system.
>>> >
>>>
>>> This was discussed in the following bug-report:
>>>
>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=108514
>>>
>>> I think the proper solution is to create a +UGIDS file to be able to
>>> maintain a refcount, but the status quo isn't that bad.
>>
>> Personally I'd much prefer to keep them so ls -l, filemanagers etc can
>> continue to use names rather than numbers for any files left behind.
>>
>> IMO the status quo is better than any solution that involves automated
>> deletion.
>
>    I agree by and large with RW, but it would be nice if there was an
> audit tool to do this check and suggest whether or not a group should
> be added or removed in general, regardless of whether or not a
> pkg/port was added or removed.
> Thanks,
> -Garrett

Yes, of course I would not have something that remove automatically
without prompting the user. I just wanted something like :

Warning : these users are no long used by the system, you can remove then safely

user1, user2 etc

Cheers.


More information about the freebsd-ports mailing list