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

[Xen-devel] [PATCH] tools/hotplug: start xen daemons in runlevel 2



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1294907705 0
# Node ID f00229573fcddc520ca06d2898e67fdd33569137
# Parent  a8ea055ec790ade69e2c02499f844ff9a819e236
tools/hotplug: start xen daemons in runlevel 2.

This is the default runlevel on a Debian system.

In addition update-rc.d complains:
update-rc.d: warning: xencommons stop runlevel arguments (0 1 6) do not match 
LSB Default-Stop values (1)

and it seems reasonable to stop the daemons during shutdown or reboot
so make that change as well.


Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r a8ea055ec790 -r f00229573fcd tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons     Thu Jan 13 08:09:39 2011 +0000
+++ b/tools/hotplug/Linux/init.d/xencommons     Thu Jan 13 08:35:05 2011 +0000
@@ -12,8 +12,8 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs
 # Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      1
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Start/stop xenstored and xenconsoled
 # Description:       Starts and stops the daemons neeeded for xl/xend
 ### END INIT INFO

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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