aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hotplug
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2012-02-20 18:58:07 +0000
committerOlaf Hering <olaf@aepfle.de>2012-02-20 18:58:07 +0000
commit6638670a188e5be5676c54e9fe5831edcdb5c4a7 (patch)
treeee58fea7ad4f434133b8da125c87f4848b0589d1 /tools/hotplug
parent2097530a7950dfdda5408207f36218adc8a28c66 (diff)
downloadxen-6638670a188e5be5676c54e9fe5831edcdb5c4a7.tar.gz
xen-6638670a188e5be5676c54e9fe5831edcdb5c4a7.tar.bz2
xen-6638670a188e5be5676c54e9fe5831edcdb5c4a7.zip
tools/hotplug: remove 4 from default runlevel in xencommons
LSB defines runlevel 4 as "reserved for local use, default is normal/full multiuser" The current behaviour of insserv in openSuSE 11.4 and SLES11SP2 is that xencommons gets a symlink in /etc/init.d/rc4.d/ due to the 4 in the Default-Start: line. As a result insserv will print a warning: insserv: warning: current stop runlevel(s) (2 3 5) of script `xencommons' overwrites defaults (2 3 4 5). Since the local admin is responsible to create all symlinks manually in /etc/init.d/rc4.d/ the xencommons script should not automatically enable itself in runlevel 4. So, remove the 4 from Default-Start: line. Note: This change will not automatically remove old/stale xencommon symlinks in /etc/init.d/rc4.d/ during a package upgrade. Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/hotplug')
-rw-r--r--tools/hotplug/Linux/init.d/xencommons2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hotplug/Linux/init.d/xencommons b/tools/hotplug/Linux/init.d/xencommons
index a03b67234e..974892d5aa 100644
--- a/tools/hotplug/Linux/init.d/xencommons
+++ b/tools/hotplug/Linux/init.d/xencommons
@@ -12,7 +12,7 @@
# Should-Start:
# Required-Stop: $syslog $remote_fs
# Should-Stop:
-# Default-Start: 2 3 4 5
+# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Start/stop xenstored and xenconsoled
# Description: Starts and stops the daemons neeeded for xl/xend