Date: Sat, 22 May 2010 09:32:29 +0200 From: David DEMELIER <demelier.david@gmail.com> To: jhell <jhell@dataix.net> Cc: ports@freebsd.org, Garrett Cooper <yanefbsd@gmail.com>, RW <rwmaillists@googlemail.com> Subject: Re: Users and groups kept after a port deinstallation Message-ID: <AANLkTikTbYvpBKxO1Tu1ehQNnqvg2cL4bdBkUSwzwCC_@mail.gmail.com> In-Reply-To: <4BF787E2.9010907@dataix.net> References: <AANLkTindTvyrfPRj_cGWUC3LXWI63bGN5azaXo_xYRVu@mail.gmail.com> <AANLkTikNB0LbKG1qtL90F-thxeCvvSqnBxOCCDSucVS6@mail.gmail.com> <20100522005313.26dcfbdb@gumby.homeunix.com> <AANLkTim9NqCGi_iPMuoivw0z2bzEXHkt39VPk6c7aHyt@mail.gmail.com> <4BF787E2.9010907@dataix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/5/22 Garrett Cooper <yanefbsd@gmail.com>: > On Fri, May 21, 2010 at 4:53 PM, RW <rwmaillists@googlemail.com> wrote: >> On Fri, 21 May 2010 16:23:18 +0100 >> Florent Thoumie <flz@xbsd.org> wrote: >> >>> On Fri, May 21, 2010 at 11:11 AM, David DEMELIER >>> <demelier.david@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikTbYvpBKxO1Tu1ehQNnqvg2cL4bdBkUSwzwCC_>