Subject: bin/12311: machine does not abort boot if /usr fails to mount
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <root@polaris.garbled.net>
List: netbsd-bugs
Date: 03/01/2001 20:19:07
>Number:         12311
>Category:       bin
>Synopsis:       machine does not abort boot if /usr fails to mount
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 01 19:09:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tim Rightnour
>Release:        -current as of 03/01/01<NetBSD-current source date>
>Organization:
	
>Environment:
	
System: NetBSD polaris 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (POLARIS) #1: Wed Dec 13 00:45:28 MST 2000 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386


>Description:
If machine fails to mount /usr for some reason, say for example there is
no /usr directory in /, then the machine will continue along as if
nothing were wrong, and fail miserably to come up.  In addition, it will
generally try to spawn gettys on the console, and not allow you in.
	
>How-To-Repeat:
umount /usr
rm -rf /usr
reboot
cry

	
>Fix:
Check the return code of the mount calls later in the boot process.
	
>Release-Note:
>Audit-Trail:
>Unformatted: