From owner-freebsd-ports@FreeBSD.ORG Sat May 22 07:32:31 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69340106566C for ; Sat, 22 May 2010 07:32:31 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E8E208FC16 for ; Sat, 22 May 2010 07:32:30 +0000 (UTC) Received: by bwz2 with SMTP id 2so320207bwz.13 for ; Sat, 22 May 2010 00:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=AMvuIW/Zg1zdKIzjOR1MRTjCVqj5981vlCP9ncRVT7s=; b=AMQ4s/bxqgA4oL1HcZYCUBDKonDMpCd5YPJvGFsdxkXydZmwLLpyf634umEZdtZAmp HE4J/Iri0w3Yb1PPPw1eUAgdlbByHdx67Z9u6/HFql4C5odU/jcmwCHtTjCUnFdcempo TwOoq0rMI4Q38wACj/0LBr58YUta4vaTOGdYw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hoBZi5CmQJ8ACG0EYDsM8ke5aOH7adla0FR67CRDbaLz+PYOe/6Q5oWkJfY6mjYNB7 hDYMjsFzu6oPugU7QkjSpijt0Oe4MC78Pic3x0m1pDP1MFQrpDg5tU9oe1AHTHXRc1FG 9gYYyegiVBfpO/8ARYoXnCQ4/iCU2XHRlWAsk= MIME-Version: 1.0 Received: by 10.204.84.142 with SMTP id j14mr470490bkl.124.1274513549707; Sat, 22 May 2010 00:32:29 -0700 (PDT) Received: by 10.204.123.202 with HTTP; Sat, 22 May 2010 00:32:29 -0700 (PDT) In-Reply-To: <4BF787E2.9010907@dataix.net> References: <20100522005313.26dcfbdb@gumby.homeunix.com> <4BF787E2.9010907@dataix.net> Date: Sat, 22 May 2010 09:32:29 +0200 Message-ID: From: David DEMELIER To: jhell Content-Type: text/plain; charset=UTF-8 Cc: ports@freebsd.org, Garrett Cooper , RW Subject: Re: Users and groups kept after a port deinstallation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 07:32:31 -0000 2010/5/22 Garrett Cooper : > On Fri, May 21, 2010 at 4:53 PM, RW wrote: >> On Fri, 21 May 2010 16:23:18 +0100 >> Florent Thoumie wrote: >> >>> On Fri, May 21, 2010 at 11:11 AM, David DEMELIER >>> 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.