From nobody@FreeBSD.org  Sat Jul  6 16:07:44 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 855499D2
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Jul 2013 16:07:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 76D2F1BC8
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Jul 2013 16:07:44 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r66G7iKu041258
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 6 Jul 2013 16:07:44 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r66G7iLh041251;
	Sat, 6 Jul 2013 16:07:44 GMT
	(envelope-from nobody)
Message-Id: <201307061607.r66G7iLh041251@oldred.freebsd.org>
Date: Sat, 6 Jul 2013 16:07:44 GMT
From: Zahid Bukhari <devnull@cimmerii.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Fails if existing user found
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180348
>Category:       ports
>Synopsis:       devel/dbus fails if existing user found
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 06 16:10:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sat Jul 06 17:59:22 UTC 2013
>Originator:     Zahid Bukhari
>Release:        9.1
>Organization:
N/A
>Environment:
FreeBSD r61i.internal.cimmerii.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
/usr/ports/devel/dbus fails if an existing messagebus user is found

===> Creating users and/or groups.
Using existing group `messagebus'.
Creating user `messagebus' with uid `556'.
pw: user 'messagebus' already exists
*** Error code 74

Stop in /usr/ports/devel/dbus.
*** Error code 1

>How-To-Repeat:
cd /usr/ports/devel/dbus; make
>Fix:
It's an understandable bug so I can only lightly suggest, if username, userid, etc match, then warning and pass else if unable to create, then fail.

>Release-Note:
>Audit-Trail:

From: Jason Helfman <jgh@FreeBSD.org>
To: Zahid Bukhari <devnull@cimmerii.org>, bug-followup <bug-followup@freebsd.org>
Cc:  
Subject: Re: ports/180348: Fails if existing user found
Date: Sat, 6 Jul 2013 10:37:47 -0700

 --001a1133163c05d10704e0db456b
 Content-Type: text/plain; charset=ISO-8859-1
 
 I've seen many instances of this before, and suggest using pwd_mkdb to see
 if your password database hasn't been corrupted.
 
 -jgh
 
 --001a1133163c05d10704e0db456b--
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jul 6 17:59:21 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180348 
>Unformatted:
