Lubomir Host
2016-Mar-13 23:45 UTC
[Pkg-xen-devel] Bug#818129: xen-utils-common: error parsing domU config file with /usr/lib/xen-common/bin/xen-init-name
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>
Debian Bug Tracking System
2016-Dec-22 18:51 UTC
[Pkg-xen-devel] Bug#818129: marked as done (xen-utils-common: error parsing domU config file with /usr/lib/xen-common/bin/xen-init-name)
Your message dated Thu, 22 Dec 2016 18:49:44 +0000 with message-id <E1cK8Qy-0003nX-Gq at fasolo.debian.org> and subject line Bug#818129: fixed in xen 4.8.0-1 has caused the Debian Bug report #818129, regarding xen-utils-common: error parsing domU config file with /usr/lib/xen-common/bin/xen-init-name to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 818129: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818129 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Lubomir Host <lubomir.host at gmail.com> Subject: xen-utils-common: error parsing domU config file with /usr/lib/xen-common/bin/xen-init-name Date: Mon, 14 Mar 2016 00:45:59 +0100 Size: 7513 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20161222/e7b9f133/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Ian Jackson <ian.jackson at eu.citrix.com> Subject: Bug#818129: fixed in xen 4.8.0-1 Date: Thu, 22 Dec 2016 18:49:44 +0000 Size: 11301 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20161222/e7b9f133/attachment-0003.mht>