ports/116448: devel/dbus intolerent of existing 556 GID
Joe Marcus Clarke
marcus at FreeBSD.org
Thu Sep 20 14:29:39 PDT 2007
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 at FreeBSD.org wrote:
> > > > Synopsis: devel/dbus intolerent of existing 556 GID
> > >
> > > > State-Changed-From-To: open->closed
> > > > State-Changed-By: marcus
> > > > State-Changed-When: Tue Sep 18 21:50:42 UTC 2007
> > > > State-Changed-Why:
> > > > 556 has been allocated to messagebus via /usr/ports/GIDs. If you absolutely
> > > > need this GID for something else, you need to pre-create the messagebus
> > > > group with a GID that works for you.
> > >
> > > This is disappointing - why must it be 556? The reason I had it already
> > > defined is because the subversion install creates a 'svn' group and
> > > doesn't specify a GID. To keep this from happening, why cannot we commit
> > > /usr/ports/GIDs to /usr/src/etc/group to better reserve them?
> >
> > 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 all
> > 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.
>
> 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
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070920/d0cd1c88/attachment.pgp
More information about the freebsd-gnome
mailing list