This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] prompt user to start xencommons first if

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] prompt user to start xencommons first if it is not running.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Jun 2010 14:00:35 -0700
Delivery-date: Thu, 24 Jun 2010 14:03:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1277308895 -3600
# Node ID c973b5b8d17edf4d60057886fb47192a16175608
# Parent  e1d6f390b76b5458fe691401504195f895bba064
prompt user to start xencommons first if it is not running.

Signed-off-by: Yu Zhiguo <yuzg@xxxxxxxxxxxxxx>
 tools/hotplug/Linux/init.d/xend |    4 ++++
 1 files changed, 4 insertions(+)

diff -r e1d6f390b76b -r c973b5b8d17e tools/hotplug/Linux/init.d/xend
--- a/tools/hotplug/Linux/init.d/xend   Tue Jun 22 16:37:53 2010 +0100
+++ b/tools/hotplug/Linux/init.d/xend   Wed Jun 23 17:01:35 2010 +0100
@@ -37,6 +37,10 @@ function await_daemons_up
 case "$1" in
+       if [ -z "`ps -C xenconsoled -o pid=`" ]; then
+               echo "xencommons should be started first."
+               exit 1
+       fi
        mkdir -p /var/lock/subsys
        touch /var/lock/subsys/xend
        xend start

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] prompt user to start xencommons first if it is not running., Xen patchbot-unstable <=