Date: Sun, 19 Aug 2001 11:49:44 +0100 (BST) From: Andrew Gordon <arg@arg1.demon.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/29870: rc.diskless2 uses /usr/sbin/mtree before /usr mounted Message-ID: <20010819104944.DE8D69B13@arg1.demon.co.uk>
next in thread | raw e-mail | index | archive | help
>Number: 29870 >Category: conf >Synopsis: rc.diskless2 uses /usr/sbin/mtree before /usr mounted >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 19 03:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Andrew Gordon >Release: FreeBSD 4.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD server.arg.sj.co.uk 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #3: Sun Aug 12 20:42:57 BST 2001 arg@server.arg.sj.co.uk:/usr/src/sys/compile/SERVER i386 Still present in 4.4-RC as at 17th August >Description: /etc/rc.diskless2 already mounts /usr in order to use tools in /usr/bin etc. However, some new lines have been added _above_ the 'mount -a' which use things like /usr/sbin/mtree and /usr/bin/touch. >How-To-Repeat: Boot a standard diskless system where the root and /usr filesystems are separate mounts. >Fix: Index: rc.diskless2 =================================================================== RCS file: /repository/src/etc/rc.diskless2,v retrieving revision 1.5.2.8 diff -u -r1.5.2.8 rc.diskless2 --- rc.diskless2 2001/07/24 09:49:37 1.5.2.8 +++ rc.diskless2 2001/08/19 10:47:51 @@ -55,6 +55,8 @@ echo "+++ mfs_mount of /var" mount_md ${varsize:=65536} /var 1 +mount -a # mtree, chown and chgrp are in /usr + echo "+++ populate /var using /etc/mtree/BSD.var.dist" /usr/sbin/mtree -deU -f /etc/mtree/BSD.var.dist -p /var @@ -63,8 +65,6 @@ if [ -n "$LOGFILES" ]; then /usr/bin/touch $LOGFILES fi - -mount -a # chown and chgrp are in /usr # # XXX make sure to create one dir for each printer as requested by lpd >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?20010819104944.DE8D69B13>