[Pkg-xen-devel] Bug#818129: xen-utils-common: error parsing domU config file with /usr/lib/xen-common/bin/xen-init-name
Lubomir Host
lubomir.host at gmail.com
Sun Mar 13 23:45:59 UTC 2016
Package: xen-utils-common
Version: 4.6.0-1+nmu2
Severity: important
Dear Maintainer,
xen-init-name is a Python script which parses output of the following
command:
xen create --quiet --dryrun --defconfig /etc/xen/test1.cfg
But there is no 'config' key in JSON output of the command above.
The following patch fixes this error. Please apply.
Thank you very much,
LH
--- /tmp/xen-init-name.orig 2016-03-14 00:31:40.812230921 +0100
+++ /usr/lib/xen-common/bin/xen-init-name 2016-03-14
00:31:51.776943095 +0100
@@ -39,7 +39,7 @@
class DataJSON(Data):
def __init__(self, p):
s = json.loads(p)
- self.name = s['config']['c_info']['name']
+ self.name = s['c_info']['name']
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages xen-utils-common depends on:
ii lsb-base 9.20160110
ii python 2.7.11-1
ii ucf 3.0035
ii udev 229-2
ii xenstore-utils 4.6.0-1+nmu2
xen-utils-common recommends no packages.
xen-utils-common suggests no packages.
-- Configuration Files:
/etc/xen/xend-config.sxp changed [not included]
/etc/xen/xl.conf changed [not included]
-- no debconf information
--
http://blog.hostname.sk/gmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20160314/dd2efb16/attachment.html>
More information about the Pkg-xen-devel
mailing list