Mailing List Archive

[xen-4.0-testing] init.d: Fix xencommons init script chkconfig configuration
# HG changeset patch
# User Keir Fraser <keir@xen.org>
# Date 1301043949 0
# Node ID 9ccb0887e84dacb425c0bab3330e3a23fb370752
# Parent 999693539839e62e7604e348f2dbe955b0b71d0f
init.d: Fix xencommons init script chkconfig configuration

Fix the xencommons init script chkconfig configuration since the
priority was missing here and chkconfig was complaining about invalid
chkconfig script so I added both start and stop priorities to the
chkconfig line and it was working fine, the script was successfully
added to chkconfig when using `chkconfig --add xencommons` and
management using the chkconfig utility was now possible.

Tested on RHEL-5 Server with Xen-4.1-unstable installed, running on
PVops kernel 2.6.32.15 and it was working fine.

Signed-off-by: Michal Novotny <minovotn@redhat.com>
xen-unstable changeset: 21657:e2f5e4f3481c
xen-unstable date: Tue Jun 22 16:22:30 2010 +0100
---


diff -r 999693539839 -r 9ccb0887e84d tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons Tue Mar 15 13:57:11 2011 +0000
+++ b/tools/hotplug/Linux/init.d/xencommons Fri Mar 25 09:05:49 2011 +0000
@@ -5,7 +5,7 @@
#
# Author: Ian Jackson <ian.jackson@eu.citrix.com>
#
-# chkconfig: 2345
+# chkconfig: 2345 70 10
# description: Starts and stops the Xen control daemon.
### BEGIN INIT INFO
# Provides: xenstored xenconsoled

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