[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



>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:

Visit your host, monkey.org