From nobody@FreeBSD.org  Wed Jun 26 13:01:42 2002
Return-Path: <nobody@FreeBSD.org>
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 908EA37C449
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Jun 2002 12:28:43 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g5QJRsOT060067
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Jun 2002 12:27:54 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g5QJRsct060066;
	Wed, 26 Jun 2002 12:27:54 -0700 (PDT)
Message-Id: <200206261927.g5QJRsct060066@www.freebsd.org>
Date: Wed, 26 Jun 2002 12:27:54 -0700 (PDT)
From: John Glass <john@johncglass.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Missing information in UPDATING
X-Send-Pr-Version: www-1.0

>Number:         39892
>Category:       i386
>Synopsis:       Missing information in UPDATING
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 26 13:10:01 PDT 2002
>Closed-Date:    Wed Jun 26 16:04:31 PDT 2002
>Last-Modified:  Wed Jun 26 16:04:31 PDT 2002
>Originator:     John Glass
>Release:        4.6 STABLE
>Organization:
>Environment:
> uname -an
FreeBSD ns3.upn.net 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 25 20:36:39 GMT 2002     root@localhost:/usr/obj/usr/src/sys/NS1  i386
>

>Description:
      I recently decided to do a fresh install on a new machine - 4.4 install, then CVSUP to 4.6 release, make buildworld, make buildkernel, installworld, etc. I tried to do installworld (without reading UPDATING) and ran into the first problem - no smmsp user. The message reads: 20020404:
        Due to the import of sendmail 8.12.2 (see 20020325 entry), a new
        user and group are required in order for sendmail to run as a
        set-group-ID binary.  A 'make installworld' will use the new user
        and group to set the owner and group of /var/spool/clientmqueue
        and will fail if the new user and group do not exist.  The 'smmsp'
        user and group must be merged from src/etc/group and
        src/etc/master.passwd before using 'make installworld'.
        'mergemaster -p' will do this.  You may need to install
        mergemaster before this will work if you are updating from a
        very old version of stable.  This can be done with:
        cd /usr/src/usr.sbin/mergemaster; make all install [clean]


'Older' versions appear to be anything that doesn't have the new mergemaster. I merged the changes into /etc/master.passwd and /etc/group, but when I reran installworld, I still had the same problem. After some searching around, I figured out that /etc/passwd needs to be updated from master.passwd. I found that I needed to run pwd_mkdb -p /etc/master.passwd to update my passwd file.  I've rewritten what I think the message should say below. I believe it will clear up any confusion other users may have. (Then again, I could just be stupid and be missing something) Please let me know if there is anything wrong with it.  Thanks

>How-To-Repeat:
      
>Fix:
      20020404:
        Due to the import of sendmail 8.12.2 (see 20020325 entry), a new
        user and group are required in order for sendmail to run as a
        set-group-ID binary.  A 'make installworld' will use the new user
        and group to set the owner and group of /var/spool/clientmqueue
        and will fail if the new user and group do not exist.  The 'smmsp'
        user and group must be merged from src/etc/group and
        src/etc/master.passwd before using 'make installworld'.
        'mergemaster -p' will do this.  You may need to install
        mergemaster before this will work if you are updating from a
        very old version of stable.  This can be done with:
        cd /usr/src/usr.sbin/mergemaster; make all install [clean]If you manually import the changes to /etc/master.passwd, be sure to run 'pwd_mkdb -p /etc/master.passwd' to update your /etc/passwd file.  

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Wed Jun 26 16:00:59 PDT 2002 
State-Changed-Why:  

The UPDATING file contains the recommended procedure, which is known 
to work. Users who deviate from that procedure are expected to be 
able to handle these kinds of problems themselves. 

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