[Pkg-xen-devel] Bug#763102: xen-utils-common: xen-init-list fails to parse xm output -> cannot shutdown domains with service xendomains

Ian Campbell ijc at debian.org
Fri Aug 21 19:35:13 UTC 2015


Control: tag -1 +moreinfo

Hello,

It seems this was incorrectly closed as xend only since this code can
be used on upgrade (as part of rebooting from xend into a new system).
I don't have any systems to test but I think the fix is trivially the
following:

@@ -51,7 +51,7 @@ class DataJSON(Data):
 
 class DataSXP(Data):
     def __init__(self, p):
-        s = SXPParser()(p)
+        s = SXPParser.loads(p)
         self.data = d = {}
         for i in s:
             if i and i[0] == 'domain':

Please can you try making that change to /usr/lib/xen-common/bin/xen
-init-list and report whether or not it works?

I've also published the fix to the feature/bug763102 branch of the pkg
-xen git repository.

Thanks,
Ian



More information about the Pkg-xen-devel mailing list