[Pkg-sysvinit-commits] r1173 - in sysvinit/trunk/debian: . initscripts/etc/init.d
pere at alioth.debian.org
pere at alioth.debian.org
Tue Jan 1 16:57:20 UTC 2008
Author: pere
Date: 2008-01-01 16:57:19 +0000 (Tue, 01 Jan 2008)
New Revision: 1173
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/initscripts/etc/init.d/stop-bootlogd-single
Log:
* Document in stop-bootlogd-single why bootlogd has to be stopped in
rcS.d/ for single user boots.
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2008-01-01 16:38:25 UTC (rev 1172)
+++ sysvinit/trunk/debian/changelog 2008-01-01 16:57:19 UTC (rev 1173)
@@ -9,6 +9,8 @@
order in the boot.
* Removed stop dependencies for bootmisc.sh. Its stop operation is
a no-op, and it is not run in any level to stop.
+ * Document in stop-bootlogd-single why bootlogd has to be stopped in
+ rcS.d/ for single user boots.
-- Petter Reinholdtsen <pere at debian.org> Mon, 31 Dec 2007 12:18:42 +0100
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/stop-bootlogd-single
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/stop-bootlogd-single 2008-01-01 16:38:25 UTC (rev 1172)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/stop-bootlogd-single 2008-01-01 16:57:19 UTC (rev 1173)
@@ -8,6 +8,13 @@
# Short-Description: Stop bootlogd in single user mode
# Description: See the bootlogd script
### END INIT INFO
+#
+# This has to run in the boot sequence (rcS.d), and not in the "single
+# user" sequence (rc1.d), because rc1.d/ is not used when booting into
+# single user. "grep :[S1]: /etc/inittab" show that single user is just
+# a call to /sbin/sulogin, while runlevel 1 is a call to
+# "/etc/init.d/rc 1" which in the end switches to runlevel S to run
+# /sbin/sulogin.
PATH=/sbin:/usr/sbin:/bin:/usr/bin
NAME=stop-bootlogd-single
More information about the Pkg-sysvinit-commits
mailing list