From owner-freebsd-gnome@FreeBSD.ORG Thu Sep 20 21:29:39 2007 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1861B16A46B; Thu, 20 Sep 2007 21:29:39 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (penna-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 251B313C48A; Thu, 20 Sep 2007 21:29:38 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l8KFtwIV078424; Thu, 20 Sep 2007 11:55:58 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: obrien@FreeBSD.org In-Reply-To: <20070919132046.GA74778@dragon.NUXI.org> References: <200709182152.l8ILq9wH089174@freefall.freebsd.org> <20070919005410.GA57936@dragon.NUXI.org> <1190174125.85751.51.camel@shumai.marcuscom.com> <20070919132046.GA74778@dragon.NUXI.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JxZxwQB7bZHq8dzHtJgn" Organization: FreeBSD, Inc. Date: Thu, 20 Sep 2007 11:54:58 -0400 Message-Id: <1190303698.2944.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on creme-brulee.marcuscom.com Cc: gnome@FreeBSD.org Subject: Re: ports/116448: devel/dbus intolerent of existing 556 GID X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2007 21:29:39 -0000 --=-JxZxwQB7bZHq8dzHtJgn Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-09-19 at 06:20 -0700, David O'Brien wrote: > On Tue, Sep 18, 2007 at 11:55:25PM -0400, Joe Marcus Clarke wrote: > > On Tue, 2007-09-18 at 17:54 -0700, David O'Brien wrote: > > > On Tue, Sep 18, 2007 at 09:52:09PM +0000, marcus@FreeBSD.org wrote: > > > > Synopsis: devel/dbus intolerent of existing 556 GID > > > =20 > > > > State-Changed-From-To: open->closed > > > > State-Changed-By: marcus > > > > State-Changed-When: Tue Sep 18 21:50:42 UTC 2007 > > > > State-Changed-Why:=20 > > > > 556 has been allocated to messagebus via /usr/ports/GIDs. If you a= bsolutely > > > > need this GID for something else, you need to pre-create the messag= ebus > > > > group with a GID that works for you. > > >=20 > > > This is disappointing - why must it be 556? The reason I had it alre= ady > > > defined is because the subversion install creates a 'svn' group and > > > doesn't specify a GID. To keep this from happening, why cannot we co= mmit > > > /usr/ports/GIDs to /usr/src/etc/group to better reserve them? > >=20 > > I think it was done this way as not all ports committers have src bits. > > Plus, not everyone installs all ports, so mandating UIDs and GIDs on al= l > > systems might be a waste. But as I said, you aren't restricted to 556. > > You can create a messagebus group before installing dbus, and the port > > will simply use that group with whatever gid you assign it. >=20 > I'm curious - why doesn't dbus then just use 'pw' to create the group > with an unspecified GID like the svn port does? Why was this so > anonying? I was trying to build evolution-exchange before going to work > - and of course the build broke 1/2 thru. Which I didn't notice until I > got home. It seems the way svn does it is wrong. Since the user is only created in the Makefile, the svn user would not be created during package installation. The code used by dbus was cribbed originally from mysql-server (not sure if that was cribbed), so many ports use this method of creating users and groups. That's not to say it's right, but it's a fact. dbus could be modified to create a group with a random GID should 556 already be taken. Other ports might not be able to do this. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-JxZxwQB7bZHq8dzHtJgn Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBG8pfQb2iPiv4Uz4cRAg3yAJsHXJIAdA/bAlCTMSERuj77mxYtKQCgj0G8 m9cBGWZtNvGLwg2I+0rdWQg= =7woy -----END PGP SIGNATURE----- --=-JxZxwQB7bZHq8dzHtJgn--