Date: Wed, 26 Jun 2002 12:27:54 -0700 (PDT) From: John Glass <john@johncglass.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/39892: Missing information in UPDATING Message-ID: <200206261927.g5QJRsct060066@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 39892
>Category: i386
>Synopsis: Missing information in UPDATING
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 26 13:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206261927.g5QJRsct060066>
