From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Novotny Subject: [PATCH] Fix xencommons init script chkconfig configuration Date: Tue, 22 Jun 2010 11:05:48 +0200 Message-ID: <4C207CEC.5010806@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040603050009050100010007" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "'xen-devel@lists.xensource.com'" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040603050009050100010007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 -- Michal Novotny, RHCE Virtualization Team (xen userspace), Red Hat --------------040603050009050100010007 Content-Type: text/x-patch; name="xen-fix-linux-init-script.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen-fix-linux-init-script.patch" 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 # -# chkconfig: 2345 +# chkconfig: 2345 70 10 # description: Starts and stops xenstored and xenconsoled ### BEGIN INIT INFO # Provides: xenstored xenconsoled --------------040603050009050100010007 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040603050009050100010007--