Subject: bin/21658: interrupting (^C) /etc/rc.d/fsck doesn't stop auto boot
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itohy@netbsd.org>
List: netbsd-bugs
Date: 05/24/2003 00:03:03
>Number:         21658
>Category:       bin
>Synopsis:       interrupting (^C) /etc/rc.d/fsck doesn't stop auto boot
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 23 15:04:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     ITOH Yasufumi
>Release:        NetBSD 1.6L
>Organization:
>Environment:
System: NetBSD fmv.my.domain 1.6L NetBSD 1.6L (FMV) #15: Sun Jan 26 18:47:03 JST 2003 itohy@fmv.my.domain:/w/src/sys/arch/i386/compile/FMV i386
Architecture: i386
Machine: i386

>Description:
	Interupting (^C) fsck -p during auto boot does not stop booting.
	The system continues to boot with the filesystems dirty.

	^C should print
		Boot interrupted.
	and stop booting.

>How-To-Repeat:
	1. turn off your machine without shutdown, :)
	2. boot the machine,
	3. press ^C during fsck.

>Fix:
	This is probably because fsck is not a direct child process
	of the /etc/rc shell.
	Do not use rcorder and invoke fsck directly
	from the root /etc/rc shell.

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