File s390-tools-sles11-daemons-single-user of Package s390-tools
Description: Prevent daemons from starting in single user mode.
Symptom: cpuplugd and monstatd are starting in single user mode.
Problem: Default-Start section contains runlevel 1.
Solution: Move runlevel 1 to Default-Stop section.
---
etc/init.d/cpuplugd | 6 +++---
etc/init.d/mon_statd | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
Index: s390-tools-sles11/etc/init.d/cpuplugd
===================================================================
--- s390-tools-sles11.orig/etc/init.d/cpuplugd
+++ s390-tools-sles11/etc/init.d/cpuplugd
@@ -3,14 +3,14 @@
# Provides: cpuplugd
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
-# Default-Start: 1 2 3 4 5
-# Default-Stop: 0 6
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
# Short-Description: Start the cpu hotplug daemon for Linux on System z
# Description: Starts the cpuplugd. It uses the configuration
# file /etc/sysconfig/cpuplugd
### END INIT INFO
-# chkconfig: 12345 01 99
+# chkconfig: 2345 01 99
DAEMON=cpuplugd
DAEMON_PATH=/usr/sbin/cpuplugd
Index: s390-tools-sles11/etc/init.d/mon_statd
===================================================================
--- s390-tools-sles11.orig/etc/init.d/mon_statd
+++ s390-tools-sles11/etc/init.d/mon_statd
@@ -3,14 +3,14 @@
# Provides: mon_statd
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
-# Default-Start: 1 2 3 4 5
-# Default-Stop: 0 6
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
# Short-Description: Configure the mon_fsstatd and mon_procd daemons.
# Description: Configures the mon_fsstatd and mon_procd daemons. It uses the
# configuration file /etc/sysconfig/mon_statd.
### END INIT INFO
-# chkconfig: 12345 01 99
+# chkconfig: 2345 01 99
DAEMON=mon_statd
FSSTATD=mon_fsstatd