From owner-freebsd-ports@FreeBSD.ORG Sat May 22 00:08:17 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 6AC52106566B for ; Sat, 22 May 2010 00:08:17 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f188.google.com (mail-qy0-f188.google.com [209.85.221.188]) by mx1.freebsd.org (Postfix) with ESMTP id 24A828FC0C for ; Sat, 22 May 2010 00:08:16 +0000 (UTC) Received: by qyk26 with SMTP id 26so2787325qyk.28 for ; Fri, 21 May 2010 17:08:16 -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=I4xRfQPrX76oervcR5dBfvGXhl78/EwZYdG1kqpqPZ0=; b=dw5XfUi7KAsgOdTqgMCWsQS+Cv66O9lamkHIiRQ+e9YFVPFHGjKZdvPfhLkJkpYGLd H7pNoGSY3Yvzp8CIPrID/asNm7sgGmAW3/jkCoPU+H/4+Orw++yRlzWSyO6V8zyxuaO3 jNuklBUL/CsldUJDkDeM9VFmkQ095dihf8y0c= 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=eKAuptooriIjpIY62m+68rXds0CLTzJ+8R7OPdQH/iryiCkRXmbwAufwsLz1SUXB+j Z+VOBmGUaBmECDUxp5lNbYVXY6+cWu+XsMRddxzFbh8Ye6VVSHjr92XNJCt/0LTMjtod 0fYOUwO0oSovo0oYnNC52nZXq1OhGSEIB+pnE= MIME-Version: 1.0 Received: by 10.229.215.137 with SMTP id he9mr580564qcb.131.1274486896234; Fri, 21 May 2010 17:08:16 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Fri, 21 May 2010 17:08:16 -0700 (PDT) In-Reply-To: <20100522005313.26dcfbdb@gumby.homeunix.com> References: <20100522005313.26dcfbdb@gumby.homeunix.com> Date: Fri, 21 May 2010 17:08:16 -0700 Message-ID: From: Garrett Cooper To: RW Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org 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 00:08:17 -0000 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