From nobody@FreeBSD.org  Sun Jul 10 09:07:23 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C5F31106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Jul 2011 09:07:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7DD5C8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Jul 2011 09:07:23 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6A97NMO096639
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Jul 2011 09:07:23 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p6A97NIL096638;
	Sun, 10 Jul 2011 09:07:23 GMT
	(envelope-from nobody)
Message-Id: <201107100907.p6A97NIL096638@red.freebsd.org>
Date: Sun, 10 Jul 2011 09:07:23 GMT
From: Harlan Stenn <harlan@pfcs.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dovecot2 fails installation if user dovenull exists
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         158759
>Category:       ports
>Synopsis:       mail/dovecot2 fails installation if user dovenull exists
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ohauer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 10 09:10:08 UTC 2011
>Closed-Date:    Sun Nov 06 11:41:10 UTC 2011
>Last-Modified:  Sun Nov 06 11:41:10 UTC 2011
>Originator:     Harlan Stenn
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD gizmo.everett.org 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Apr 11 02:48:24 PDT 2011     root@gizmo.everett.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
gizmo# make install
===>  Installing for dovecot-2.0.12
===>   dovecot-2.0.12 depends on shared library: ldap-2.4.8 - found
===>   dovecot-2.0.12 depends on shared library: iconv.3 - found
===>   dovecot-2.0.12 depends on shared library: mysqlclient.16 - found
===>   Generating temporary packing list
===>  Checking if mail/dovecot2 already installed
===> Creating users and/or groups.
Using existing group `dovecot'.
Using existing group `dovenull'.
Using existing user `dovecot'.
Creating user `dovenull' with uid `144'.
pw: user 'dovenull' already exists
*** Error code 74

Stop in /usr/ports/mail/dovecot2.
*** Error code 1

Stop in /usr/ports/mail/dovecot2.
gizmo# 
>How-To-Repeat:
install/upgrade the port.
>Fix:


>Release-Note:
>Audit-Trail:

From: olli hauer <ohauer@gmx.de>
To: bug-followup@FreeBSD.org, harlan@pfcs.com
Cc:  
Subject: Re: ports/158759: mail/dovecot2 fails installation if user dovenull
 exists
Date: Sun, 10 Jul 2011 15:32:19 +0200

 I cannot reproduce this here.
 
 ===>   Generating temporary packing list
 ===>  Checking if mail/dovecot2 already installed
 ===> Creating users and/or groups.
 Using existing group `dovecot'.
 Using existing group `dovenull'.
 Using existing user `dovecot'.
 Using existing user `dovenull'.
 Making install in .
 ....
 
 
 Can you send the output of
 /usr/sbin/pw usershow dovenull; echo "ret: $?"
Responsible-Changed-From-To: freebsd-ports-bugs->ohauer 
Responsible-Changed-By: ohauer 
Responsible-Changed-When: Sun Jul 10 15:41:00 UTC 2011 
Responsible-Changed-Why:  
I'll take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158759 
State-Changed-From-To: open->feedback 
State-Changed-By: ohauer 
State-Changed-When: Sun Jul 10 15:43:10 UTC 2011 
State-Changed-Why:  
Please send the output of 
$> /usr/sbin/pw usershow dovenull; echo "ret: $?" 


http://www.freebsd.org/cgi/query-pr.cgi?pr=158759 

From: Chris Rees <crees@FreeBSD.org>
To: bug-followup@FreeBSD.org, harlan@pfcs.com
Cc:  
Subject: Re: ports/158759: mail/dovecot2 fails installation if user dovenull
 exists
Date: Sat, 16 Jul 2011 02:31:48 +0100

 Looks like dovenull is the wrong UID in his system, I'd suggest.
 
 Should be easily fixable with a vipw and find.
 
 Chris
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 

From: Olli Hauer <ohauer@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc: Chris Rees <crees@FreeBSD.org>, ohauer@FreeBSD.org
Subject: Re: ports/158759: mail/dovecot2 fails installation if user dovenull
 exists
Date: Mon, 18 Jul 2011 23:35:24 +0200

 >  Looks like dovenull is the wrong UID in his system, I'd suggest.
 >  
 >  Should be easily fixable with a vipw and find.
 >  
 >  Chris
 
 Hi Chris,
 
 even dovenull has a already the wrong UID on the machine from OP this
 error is really unexpected (tested on 7.x/8.x/9).
 
 The only issue is when the UID is already allocated by another user,
 but then we see another error message.
 
 Bad, the mail to the OP bounce back (tested from three different
 mailaccounts). I will wait another week and then close the PR.
 
 olli
State-Changed-From-To: feedback->closed 
State-Changed-By: ohauer 
State-Changed-When: Sun Nov 6 11:38:32 UTC 2011 
State-Changed-Why:  
issue can't reproduced. 

Mail to OP bounce, tried several times. 


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