WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] xendomains init error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xendomains init error
From: Pepo Viola <pepoviola@xxxxxxxxx>
Date: Tue, 4 Aug 2009 10:25:19 -0300
Delivery-date: Tue, 04 Aug 2009 06:26:01 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FC2hCJYX5Api++E293qF2ePlIgv44y++TPECo88nYbo=; b=q+f+MfGJcB46GqV+cZGb7TGNair0pvbyYV9iHJWvftc51UGNVn+QmexYygBSps2CLz 2d73RK59JwdM/IKd+8v2zulbhhhO0IgBl61kunoficTWGBieyRpdGIMbjUJbB2F24MTZ 5liy38XOZ01fPQpqrRePsqqK33RI7K9EOxrAk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hqtSMihbv0NNYL0QodZPN8ALLbld2LadsBMCfRZMKtRAkLKEs4gunv6O+9ARz6uQw5 b6c47MZgNEo8AqcDWOV8I6JE1gAT01O2sC+AqNma2iqiAnmCqfnOq8Z0B+VeDSBoYOhx wF4SreSfDxnPHrcLv3SoYcXeyURW3dbsNLvlg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,  i'm using xen3.4 from src and i see an error in xendomains init script, it not save all machines at stop (e.g /etc/init.d/xendomains stop) this is because an error with the compare. I just make it work with some change.

This is the patch.

--- xendomains.a    2009-08-04 10:19:43.000000000 -0300
+++ xendomains.b    2009-08-04 10:21:47.000000000 -0300
@@ -182,11 +182,11 @@
 
 parseln()
 {
-    if [[ "$1" =~ "\(domain" ]]; then
+    if [[ "$1" =~ "(domain" ]]; then
         name=;id=
-    else if [[ "$1" =~ "\(name" ]]; then
+    else if [[ "$1" =~ "(name" ]]; then
         name=$(echo $1 | sed -e 's/^.*(name \(.*\))$/\1/')
-    else if [[ "$1" =~ "\(domid" ]]; then
+    else if [[ "$1" =~ "(domid" ]]; then
         id=$(echo $1 | sed -e 's/^.*(domid \(.*\))$/\1/')
     fi; fi; fi


Thanks.
 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xendomains init error, Pepo Viola <=