From nobody@www.freebsd.org  Sat Jun 15 15:00:55 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 182D437B406
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jun 2002 15:00:55 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5FM0shG092335
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jun 2002 15:00:54 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5FM0sZ9092334;
	Sat, 15 Jun 2002 15:00:54 -0700 (PDT)
Message-Id: <200206152200.g5FM0sZ9092334@www.freebsd.org>
Date: Sat, 15 Jun 2002 15:00:54 -0700 (PDT)
From: Dirk-Willem van Gulik <dirkx@covalent.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Fabien Menemenlis <nihilist@dead-inside.org>
Subject: /var/spool/clientmqueue/ not created during diskless boot.
X-Send-Pr-Version: www-1.0

>Number:         39350
>Category:       misc
>Synopsis:       /var/spool/clientmqueue/ not created during diskless boot.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 15 15:10:01 PDT 2002
>Closed-Date:    Thu Jul 04 06:24:37 PDT 2002
>Last-Modified:  Thu Jul 04 06:24:37 PDT 2002
>Originator:     Dirk-Willem van Gulik
>Release:        5.0-CURRENT
>Organization:
sammawat
>Environment:
FreeBSD foem.leiden.webweaving.org 5.0-CURRENT FreeBSD 5.0-CURRENT #17: Sat May  4 01:04:42 CEST 2002     dirkx@foem.leiden.webweaving.org:/usr/src/sys/i386/compile/FOEM  i386
>Description:
The new /var/spool/clientmqueue/ is not created during a diskless boot by the mtree op.

>How-To-Repeat:
set up a diskless machine according to diskless(8)
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: gshapiro 
Responsible-Changed-When: Tue Jun 18 08:55:54 PDT 2002 
Responsible-Changed-Why:  
Over to sendmail maintainer. 
Added recipient Fabien Menemenlis <nihilist@dead-inside.org> after 
closing dup bug 39459. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39350 
State-Changed-From-To: open->patched 
State-Changed-By: bsd 
State-Changed-When: Sat Jun 22 20:27:11 PDT 2002 
State-Changed-Why:  
Seems I stumbled over this and committed a fix without realizing there 
was an open pr on it.  After speaking with gshapiro, he's ok with the 
solution, but expresses some reservations that we may still create the 
directory in some situations where it may not be desired.  I'll leave 
the state of the pr as 'patched' for now; if there are no major 
objections within a week or so, I'll MFC the change and close the pr. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39350 
State-Changed-From-To: patched->closed 
State-Changed-By: bsd 
State-Changed-When: Thu Jul 4 06:23:17 PDT 2002 
State-Changed-Why:  
The fix has been MFC'd. 

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

From Gregory Neil Shapiro <gshapiro@freebsd.org>:

For the maintainer of the diskless infrastructure, I note that
/etc/rc.diskless2 does:

	echo "+++ populate /var using /etc/mtree/BSD.var.dist"
	/usr/sbin/mtree -deU -f /etc/mtree/BSD.var.dist -p /var

To fix this problem, it would also need to:

	/usr/sbin/mtree -deU -f /etc/mtree/BSD.sendmail.dist -p /

However, you may get complaints from those diskless users who dislike
sendmail.  I don't know if this is an issue.  See /usr/src/etc/Makefile
for how it is done if you need more information.

