Subject: PR/29822 CVS commit: src
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Alan Barrett <apb@netbsd.org>
List: netbsd-bugs
Date: 04/06/2007 14:25:02
The following reply was made to PR misc/29822; it has been noted by GNATS.
From: Alan Barrett <apb@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/29822 CVS commit: src
Date: Fri, 6 Apr 2007 14:20:19 +0000 (UTC)
Module Name: src
Committed By: apb
Date: Fri Apr 6 14:20:19 UTC 2007
Modified Files:
src/etc: rc.subr
src/etc/rc.d: fixsb fsck ipfilter ipsec pf pf_boot
src/share/man/man8: rc.8 rc.subr.8
Log Message:
* Add a stop_boot() function in rc.subr, to terminate a multi-user boot
by killing the parent process. The parent's PID is saved in $RC_PID.
* In all rc.d/* scripts that previously tried to stop the boot,
replace in-line code with "stop_boot".
* Document this.
This should fix PR 29822.
To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 src/etc/rc.subr
cvs rdiff -r1.12 -r1.13 src/etc/rc.d/fixsb
cvs rdiff -r1.6 -r1.7 src/etc/rc.d/fsck src/etc/rc.d/pf
cvs rdiff -r1.14 -r1.15 src/etc/rc.d/ipfilter
cvs rdiff -r1.8 -r1.9 src/etc/rc.d/ipsec
cvs rdiff -r1.1 -r1.2 src/etc/rc.d/pf_boot
cvs rdiff -r1.29 -r1.30 src/share/man/man8/rc.8
cvs rdiff -r1.16 -r1.17 src/share/man/man8/rc.subr.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.