summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xsbin/rc2
-rwxr-xr-xsbin/runscript.sh2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ac36c9..9d98d52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for Gentoo System Intialization ("rc") scripts
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2
+ 12 Jul 2006; Roy Marples <uberlord@gentoo.org>:
+
+ Add bootmisc as a CRITICAL_SERVICE as too many init scripts don't
+ depend on it, which means that /var/run and others could get cleaned after
+ daemons write important things there - like pidfiles - when using parallel
+ startup.
+
10 Jul 2006; Roy Marples <uberlord@gentoo.org>:
Fixed some internal net dependencies with >1 active net service
diff --git a/sbin/rc b/sbin/rc
index 17301e0..9ca43e7 100755
--- a/sbin/rc
+++ b/sbin/rc
@@ -148,7 +148,7 @@ get_critical_services() {
CRITICAL_SERVICES="${CRITICAL_SERVICES} ${x##*/}"
done
else
- CRITICAL_SERVICES="checkroot modules checkfs localmount clock"
+ CRITICAL_SERVICES="checkroot modules checkfs localmount clock bootmisc"
fi
export CRITICAL_SERVICES
diff --git a/sbin/runscript.sh b/sbin/runscript.sh
index e9b5388..e8fa562 100755
--- a/sbin/runscript.sh
+++ b/sbin/runscript.sh
@@ -196,7 +196,7 @@ svc_stop() {
if [[ ${svcpause} != "yes" && ${RC_NO_DEPS} != "yes" ]] ; then
if net_service "${SVCNAME}" ; then
- if is_runlevel_stop || is_net_up "${SVCNAME}" ; then
+ if is_runlevel_stop || ! is_net_up "${SVCNAME}" ; then
mydeps="net"
fi
fi