<div dir="ltr"><div>Package: xen-utils-common</div><div>Version: 4.6.0-1+nmu2</div><div>Severity: important</div><div><br></div><div>Dear Maintainer,</div><div><br></div><div>xen-init-name is a Python script which parses output of the following command:</div><div><br></div><div>xen create --quiet --dryrun --defconfig /etc/xen/test1.cfg</div><div><br></div><div>But there is no 'config' key in JSON output of the command above.</div><div><br></div><div>The following patch fixes this error. Please apply.</div><div><br></div><div>Thank you very much,</div><div>LH</div><div><br></div><div>--- /tmp/xen-init-name.orig     2016-03-14 00:31:40.812230921 +0100</div><div>+++ /usr/lib/xen-common/bin/xen-init-name       2016-03-14 00:31:51.776943095 +0100</div><div>@@ -39,7 +39,7 @@</div><div> class DataJSON(Data):</div><div>     def __init__(self, p):</div><div>         s = json.loads(p)</div><div>-        <a href="http://self.name">self.name</a> = s['config']['c_info']['name']</div><div>+        <a href="http://self.name">self.name</a> = s['c_info']['name']</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>-- System Information:</div><div>Debian Release: stretch/sid</div><div>  APT prefers unstable</div><div>  APT policy: (500, 'unstable')</div><div>Architecture: amd64 (x86_64)</div><div><br></div><div>Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)</div><div>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)</div><div>Shell: /bin/sh linked to /bin/bash</div><div>Init: sysvinit (via /sbin/init)</div><div><br></div><div>Versions of packages xen-utils-common depends on:</div><div>ii  lsb-base        9.20160110</div><div>ii  python          2.7.11-1</div><div>ii  ucf             3.0035</div><div>ii  udev            229-2</div><div>ii  xenstore-utils  4.6.0-1+nmu2</div><div><br></div><div>xen-utils-common recommends no packages.</div><div><br></div><div>xen-utils-common suggests no packages.</div><div><br></div><div>-- Configuration Files:</div><div>/etc/xen/xend-config.sxp changed [not included]</div><div>/etc/xen/xl.conf changed [not included]</div><div><br></div><div>-- no debconf information</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><a href="http://blog.hostname.sk/gmail" target="_blank">http://blog.hostname.sk/gmail</a><br></div>
</div>