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

Ralf Wenk RZ-FreeBSD1004 at fh-karlsruhe.de
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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 10 10:30:18 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/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.

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

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

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list