Subject: install/8349: create lock directory for tip on install ramdisk
To: None <gnats-bugs@gnats.netbsd.org>
From: Brook Milligan <brook@biology.nmsu.edu>
List: netbsd-bugs
Date: 09/09/1999 11:41:29
>Number:         8349
>Category:       install
>Synopsis:       create lock directory for tip
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager (NetBSD system installation bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep  9 11:35:05 1999
>Last-Modified:
>Originator:     Brook Milligan
>Organization:
Brook G. Milligan                      Internet:  brook@nmsu.edu
Department of Biology
New Mexico State University            Telephone:  (505) 646-7980
Las Cruces, New Mexico  88003  U.S.A.  FAX:        (505) 646-5665
>Release:        NetBSD-1.4
>Environment:
	
System: NetBSD biology.nmsu.edu 1.4 NetBSD 1.4 (BIOLOGY) #0: Fri Jun 4 10:09:57 MDT 1999 root@rosa.nmsu.edu:/usr/src/sys/arch/i386/compile/BIOLOGY i386


>Description:
	The current (at least 1.4/i386) install floppies do not create
	a directory (/var/spool/lock) for tip to place lock files in.
	As a result, tip cannot be run "out of the box" from the
	install ramdisk.

>How-To-Repeat:
	boot an install floppy, escape from sysinst, run tip.

>Fix:
	Apply the following patch in
	/usr/src/distrib/i386/floppies/ramdisk (similar changes may be
	necessary for other architectures).  This just causes mtree to
	create the lock directory.

--- mtree.conf.orig	Mon Apr 19 20:37:50 1999
+++ mtree.conf	Wed Sep  8 14:30:57 1999
@@ -80,3 +80,20 @@
 
 # ./usr
 ..
+
+# ./var
+var
+
+# ./var/spool
+spool
+
+# ./var/spool/lock
+lock
+# ./var/spool/lock
+..
+
+# ./var/spool
+..
+
+# ./var
+..
>Audit-Trail:
>Unformatted: