conf/72927: Undefined variable used in /etc/rc.d/root

Ralf Wenk RZ-FreeBSD1004 at fh-karlsruhe.de
Wed Oct 20 09:00:56 PDT 2004


>Number:         72927
>Category:       conf
>Synopsis:       Undefined variable used in /etc/rc.d/root
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 20 16:00:52 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ralf Wenk
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
FH Karlsruhe, University of Applied Sciences
>Environment:
System: FreeBSD 5.3-STABLE FreeBSD 5.3-STABLE #1: Mon Oct 18 13:23:44 CEST 2004 root at RZ-Wenk1:/usr/obj/usr/src/sys/fsc-t-diskless i386


>Description:
The root_rw_mount variable which is evaluated in /etc/rc.d/root is,
even in the case of a diskless boot, undefined. This causes a diskless
boot with a read only root filesystem to fail.

>How-To-Repeat:
Try a diskless boot with readonly root filesystem or search for another
occurence of root_rw_mount in the source other than /usr/src/etc/rc.d/root.

	
>Fix:
Until there is a better solution, like the detection of a read only root
filesystem in "the right place", add root_rw_mount="YES" to /etc/rc.conf.
	


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


More information about the freebsd-bugs mailing list