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
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 11 11:50:12 GMT 2005
>Originator:     Ralf Wenk
>Release:        FreeBSD 5.3-STABLE i386
FH Karlsruhe, University of Applied Sciences
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

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.

Try a diskless boot and look at the output of the rc scripts.

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.

More information about the freebsd-bugs mailing list