Subject: bin/21658: interrupting (^C) /etc/rc.d/fsck doesn't stop auto boot
To: None <>
From: None <>
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
>Originator:     ITOH Yasufumi
>Release:        NetBSD 1.6L
System: NetBSD 1.6L NetBSD 1.6L (FMV) #15: Sun Jan 26 18:47:03 JST 2003 i386
Architecture: i386
Machine: i386

	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.

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

	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.