Bug 28116

Summary: init: allow reboot during runcom
Product: Base System Reporter: Valentin Nechayev <netch>
Component: binAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Valentin Nechayev 2001-06-13 08:30:11 UTC
/sbin/init does not react on Ctrl-Alt-Del in "runcom" state (during running
/etc/rc). If boot process hangs (even some fresh FreeBSD ports caused
hanging due to bugs in startup scripts), there often is no possibility to
interrupt it correctly (without reset button).

Fix: In runcom(), init does not check for transitions requested from signal
handlers before /etc/rc finished. Modify it to check for `death'.

Patch to RELENG_4 (but also applicable cleanly to HEAD):
Comment 1 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2001-06-13 19:56:15 UTC
Responsible Changed
From-To: freebsd-bugs->des

I'll handle this one.
Comment 2 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2001-10-15 21:33:32 UTC
State Changed
From-To: open->feedback

Committed, awaiting MFC.
Comment 3 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2001-10-22 13:24:54 UTC
State Changed
From-To: feedback->closed

Fixed, thanks!