From owner-cvs-all@FreeBSD.ORG Tue Jun 14 21:16:02 2011 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6B191065674; Tue, 14 Jun 2011 21:16:02 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from u18-124.dslaccess.de (unknown [194.231.39.124]) by mx1.freebsd.org (Postfix) with ESMTP id 678768FC1B; Tue, 14 Jun 2011 21:16:02 +0000 (UTC) Received: from [172.20.1.100] (cde1100.uni.vrs [172.20.1.100]) (Authenticated sender: ohauer) by u18-124.dslaccess.de (Postfix) with ESMTPSA id 420C020428; Tue, 14 Jun 2011 23:15:59 +0200 (CEST) Message-ID: <4DF7CF8E.7000703@FreeBSD.org> Date: Tue, 14 Jun 2011 23:15:58 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Chris Rees References: <201106141639.p5EGdJ2k003510@repoman.freebsd.org> <1308083456.84213.7.camel@hood.oook.cz> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-ports@freebsd.org, pav@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports UIDs X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ohauer@FreeBSD.org List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2011 21:16:02 -0000 On 2011-06-14 22:41, Chris Rees wrote: > 2011/6/14 Pav Lucistnik : >> Maybe I missed something, but why do we need nobody user here, when we >> already have it in default master.passwd on every new installation? >> >> $ grep nobody /usr/src/etc/master.passwd >> nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin >> > > Because the code in bsd.port.mk fails if a group is in GROUPS but not GIDs. > > Of course, I realised as you pointed that out that it's unnecessary, > because the nobody reference isn't in GROUPS, so not parsed by that > code. > > Should I remove the line in UIDs / GIDs? > I think it's not a bad Idea to have even the default system users in ports/GIDs ports/UIDs. For example the following predefined groups are at the moment not in ports/GIDs - operator - mail But they should go in with this lines to support bacula/postfix/clamav - operator:*:5:bacula - mail:*:6:clamav,postfix