All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix xencommons init script chkconfig configuration
@ 2010-06-22  9:05 Michal Novotny
  2010-06-22  9:45 ` Stefano Stabellini
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Novotny @ 2010-06-22  9:05 UTC (permalink / raw)
  To: 'xen-devel@lists.xensource.com'

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

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

Signed-off-by: Michal Novotny <minovotn@redhat.com>

-- 
Michal Novotny<minovotn@redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat


[-- Attachment #2: xen-fix-linux-init-script.patch --]
[-- Type: text/x-patch, Size: 456 bytes --]

diff -r 72c6228b5f0f tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons	Mon Jun 21 19:19:25 2010 +0100
+++ b/tools/hotplug/Linux/init.d/xencommons	Tue Jun 22 11:01:58 2010 +0200
@@ -4,7 +4,7 @@
 #
 # Author:       Ian Jackson <ian.jackson@eu.citrix.com>
 #
-# chkconfig: 2345
+# chkconfig: 2345 70 10
 # description: Starts and stops xenstored and xenconsoled
 ### BEGIN INIT INFO
 # Provides:          xenstored xenconsoled

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-22  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22  9:05 [PATCH] Fix xencommons init script chkconfig configuration Michal Novotny
2010-06-22  9:45 ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.