conf/77340: awk used in /etc/rc.d/nsswitch when not availiable (diskless boot)

Ralf Wenk RZ-FreeBSD1004 at
Thu Feb 10 02:30:19 PST 2005

>Number:         77340
>Category:       conf
>Synopsis:       awk used in /etc/rc.d/nsswitch when not availiable (diskless boot)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 10 10:30:18 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/nsswitch is executed. So there is no awk availiable which
is used in /etc/rc.d/nsswitch. /etc/rc.d/mountcritremote is executed
much later than nsswitch.

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

A workaround it to place a copy of awk in /bin becasue the root filesystem
is already mounted.


More information about the freebsd-bugs mailing list