conf/77384: /etc/rc.d/var uses commands from /usr/bin and /usr/sbin when /usr not yet mounted (diskless boot)

Ralf Wenk RZ-FreeBSD1004 at fh-karlsruhe.de
Fri Feb 11 03:50:13 PST 2005


>Number:         77384
>Category:       conf
>Synopsis:       /etc/rc.d/var uses commands from /usr/bin and /usr/sbin when /usr not yet mounted (diskless boot)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 11 11:50:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ralf Wenk
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
FH Karlsruhe, University of Applied Sciences
>Environment:
System: FreeBSD RZ-Wenk1 5.3-STABLE FreeBSD 5.3-STABLE #2: Mon Feb 7 14:21:46 CET 2005 root at RZ-Wenk1:/usr/obj/usr/src/sys/fsc-t-diskless i386

>Description:
When booting diskless the NFS filesystem for /usr is not mounted at the
time /etc/rc.d/var is executed. So there is no /usr/sbin/mtree,
/usr/sbin/newsyslog, /usr/bin/touch and /usr/bin/awk availiable.
See also problem report 77340.

>How-To-Repeat:
Try a diskless boot and look at the output of the rc scripts.

>Fix:
As a workaround extend the root filesystem /usr directory with bin and sbin
directories and copy the neccesary files (mtree, touch, newsyslog and awk
(see pr 77340)) into them.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list