[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools/hotplug: remove 4 from default runlevel in init scripts


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Mon, 14 May 2012 16:32:23 +0000
  • Delivery-date: Mon, 14 May 2012 16:32:29 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1336153082 -7200
# Node ID 7d3d3fece2373fccc4ae1252a50619fb082639a1
# Parent  96a6f10c9b37c397292fe1169cc871b55808d583
tools/hotplug: remove 4 from default runlevel in init scripts

Remove 4 from default runlevel in xen-watchdog, xend and xendomains.

Similar to what changeset 24847:0900b1c905f1 does in xencommons, remove
runlevel 4 from the other runlevel scripts. LSB defines runlevel 4 as
reserved for local use, the local sysadmin is responsible for symlink
creation in rc4.d.

Runlevel 4 was specified in Default-Start since a very long time. Then
it was copied also to the new xen-watchdog in 21861:fb3649141e19. Until
now this was not an issue since only xencommons is automatically enabled
during package install, and a custom xend and xendomains script is
included in the SuSE packages. Since some time a rpmlint check complains
about the wrong Default-Start entry in xen-watchdog.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
---


diff -r 96a6f10c9b37 -r 7d3d3fece237 tools/hotplug/Linux/init.d/xen-watchdog
--- a/tools/hotplug/Linux/init.d/xen-watchdog   Fri May 04 17:40:40 2012 +0200
+++ b/tools/hotplug/Linux/init.d/xen-watchdog   Fri May 04 19:38:02 2012 +0200
@@ -10,7 +10,7 @@
 # Should-Start:      xend
 # Required-Stop:     $syslog $remote_fs
 # Should-Stop:       xend
-# Default-Start:     2 3 4 5
+# Default-Start:     2 3 5
 # Default-Stop:      0 1 6
 # Short-Description: Start/stop xen-watchdog
 # Description:       Run domain watchdog daemon.
diff -r 96a6f10c9b37 -r 7d3d3fece237 tools/hotplug/Linux/init.d/xend
--- a/tools/hotplug/Linux/init.d/xend   Fri May 04 17:40:40 2012 +0200
+++ b/tools/hotplug/Linux/init.d/xend   Fri May 04 19:38:02 2012 +0200
@@ -12,7 +12,7 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs xenstored xenconsoled 
 # Should-Stop:
-# Default-Start:     2 3 4 5
+# Default-Start:     2 3 5
 # Default-Stop:      0 1 6
 # Short-Description: Start/stop xend
 # Description:       Starts and stops the Xen control daemon.
diff -r 96a6f10c9b37 -r 7d3d3fece237 tools/hotplug/Linux/init.d/xendomains
--- a/tools/hotplug/Linux/init.d/xendomains     Fri May 04 17:40:40 2012 +0200
+++ b/tools/hotplug/Linux/init.d/xendomains     Fri May 04 19:38:02 2012 +0200
@@ -20,7 +20,7 @@
 # Should-Start:      xend
 # Required-Stop:     $syslog $remote_fs xenstored xenconsoled
 # Should-Stop:       xend
-# Default-Start:     2 3 4 5
+# Default-Start:     2 3 5
 # Default-Stop:      0 1 6
 # Short-Description: Start/stop secondary xen domains
 # Description:       Start / stop domains automatically when domain 0 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.