From nobody@FreeBSD.org  Wed Sep 11 10:45:09 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9B37D37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Sep 2002 10:45:09 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 354C043E3B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Sep 2002 10:45:09 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8BHj8OT065861
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Sep 2002 10:45:08 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g8BHj8wF065860;
	Wed, 11 Sep 2002 10:45:08 -0700 (PDT)
Message-Id: <200209111745.g8BHj8wF065860@www.freebsd.org>
Date: Wed, 11 Sep 2002 10:45:08 -0700 (PDT)
From: "C.J." <clayton@frii.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pw useradd assigns unique UID's to multiple usernames
X-Send-Pr-Version: www-1.0

>Number:         42663
>Category:       bin
>Synopsis:       pw(1): pw useradd assigns unique UID's to multiple usernames
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 11 10:50:01 PDT 2002
>Closed-Date:    Sat Mar 01 20:08:51 UTC 2008
>Last-Modified:  Sat Mar 01 20:08:51 UTC 2008
>Originator:     C.J.
>Release:        4.6-STABLE
>Organization:
FRII
>Environment:
FreeBSD elara.frii.com 4.6-STABLE FreeBSD 4.6-STABLE #1: Thu Aug  1 16:42:36 MDT 2002    root@ma103.mailarmory.com:/u/frii/obj/u/frii/src/FreeBSD-4.x-STABLE/sys/ELARA  i386

>Description:
If pw useradd is run from different shells too close to one another(before the password file has a chance to finish rebuilding) both of those users get the same UID, but if you run pw useradd from the same shell back to back everything goes as it should and both users get different UID's.
>How-To-Repeat:
Run pw useradd "test123" -g "user" -c "" -m -h 0 from one shell and run  pw useradd "test124" -g "user" -c "" -m -h 0 from a different shell simultaneously.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Gavin Atkinson <gavin@freebsd.org>
To: bug-followup@freebsd.org
Cc: "C.J." <clayton@frii.net>
Subject: Re: bin/42663: pw(1): pw useradd assigns unique UID's to multiple
 usernames
Date: Sun, 10 Jun 2007 19:37:51 +0100 (BST)

 Hi,
 
 Are you able to recreate this on a more recent version of FreeBSD?  I'm 
 not sure, but this might have been fixed by 
 http://lists.freebsd.org/pipermail/cvs-src/2004-March/020036.html and 
 MFC'd before 4.10 was released.  I am unable to recreate it on -HEAD, 
 although if I understand the issue correctly, the bug may be more likely 
 on slower machines.
 
 Thanks,
 
 Gavin
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Mon Jun 11 09:44:46 UTC 2007 
State-Changed-Why:  
Submitter has been asked for feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42663 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Mar 1 20:08:34 UTC 2008 
State-Changed-Why:  
Feedback timeout (> 6 months). 

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