From cjc@cc942873-a.ewndsr1.nj.home.com  Wed Dec 22 08:42:58 1999
Return-Path: <cjc@cc942873-a.ewndsr1.nj.home.com>
Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207])
	by hub.freebsd.org (Postfix) with ESMTP id 04B5314DD9
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Dec 1999 08:42:58 -0800 (PST)
	(envelope-from cjc@cc942873-a.ewndsr1.nj.home.com)
Received: (from cjc@localhost)
	by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id LAA35923;
	Wed, 22 Dec 1999 11:47:36 -0500 (EST)
	(envelope-from cjc)
Message-Id: <199912221647.LAA35923@cc942873-a.ewndsr1.nj.home.com>
Date: Wed, 22 Dec 1999 11:47:36 -0500 (EST)
From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
Reply-To: cjc@cc942873-a.ewndsr1.nj.home.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: installworld fails due to absent dir: /usr/share/examples/diskless
X-Send-Pr-Version: 3.2

>Number:         15629
>Category:       misc
>Synopsis:       installworld fails due to absent dir: /usr/share/examples/diskless
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 22 08:50:01 PST 1999
>Closed-Date:    Wed Dec 22 11:58:07 PST 1999
>Last-Modified:  Wed Dec 22 12:02:21 PST 1999
>Originator:     Crist J. Clark
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
>Environment:

	Upgrading a FreeBSD 3.3-STABLE system (1999/10/24 build) to
FreeBSD 3.4-STABLE (CVSup'ed evening of 1999/12/21).

>Description:

	The installworld fails when an installation into a
non-existent directory is attempted,

.
.
.
install -C -c -o root -g wheel -m 644 cvsup/standard-supfile /usr/share/examples/cvsup/standard-supfile
install -C -c -o root -g wheel -m 644 cvsup/www-supfile /usr/share/examples/cvsup/www-supfile
install -C -c -o root -g wheel -m 644 diskless/209.157.86.12/README /usr/share/examples/diskless/209.157.86.12/README
install: mkstemp: /usr/share/examples/diskless/209.157.86.12/INS@8484 for /usr/share/examples/diskless/209.157.86.12/README: No such file or directory
*** Error code 71

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

This directory, /usr/share/examples/diskless, was not created in the
earlier stages of the make-world process since it does not seem to
exist in mtree/BSD.usr.dist.

>How-To-Repeat:

	# rm -r /usr/share/examples/diskless
	# cd /usr/src
	# make world

>Fix:
	
	/usr/share/diskless should be added to the mtree,

--- /usr/src/etc/mtree/BSD.usr.dist     Sat Sep 11 20:09:29 1999
+++ BSD.usr.dist        Wed Dec 22 11:41:08 1999
@@ -273,6 +273,14 @@
             ..
             cvsup
             ..
+           diskless
+                209.157.86.12
+                ..
+                HT.DISKLESS
+                ..
+                HT.STD
+                ..
+            ..
             drivers
             ..
             etc

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed  
State-Changed-By: cpiazza 
State-Changed-When: Wed Dec 22 11:58:07 PST 1999 
State-Changed-Why:  
Fixed in rev 1.146.2.11 of etc/mtree/BSD.usr.dist by phantom 
>Unformatted:
