Skip to contentSkip to conversation

Fix xencommons init script chkconfig configuration

PATCH In review Michal Novotny 2 participants 2 messages Jun 22, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix xencommons init script chkconfig configuration

Hi,
this is the patch to 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.

Michal

Signature · 2 lines
Michal Novotny<[email protected]>, RHCE
Virtualization Team (xen userspace), Red Hat
tools/hotplug/Linux/init.d/xencommons +1 -1
diff -r 72c6228b5f0f tools/hotplug/Linux/init.d/xencommons
@@ -4,7 +4,7 @@
 #
 # Author:       Ian Jackson <[email protected]>
 #
-# chkconfig: 2345
+# chkconfig: 2345 70 10
 # description: Starts and stops xenstored and xenconsoled
 ### BEGIN INIT INFO
 # Provides:          xenstored xenconsoled

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 11 lines · Michal Novotny

Hi,
this is the patch to 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.

Thanks for testing it and thanks for fixing it :)