Public bug reported:

In function list list_guests() al list of running guests for some uri is 
produced which now looks like
xen:/// uuid
uuid
uuid

A list like this is processed as if the 2nd uuid etc. are uris. That
causes the script to only shut donw one virtual machine

My fix is to make the list look like
xen:/// uuid uuid uuid

Hence the modified /usr/lib/libvirt/libvirt-guests.sh .

Not shutting down the VMs correctly makes my system hang on shutdown
which is not tolerable for me.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libvirt-bin 1.3.1-1ubuntu10 [modified: 
usr/lib/libvirt/libvirt-guests.sh]
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Jun 12 15:45:16 2016
InstallationDate: Installed on 2015-06-27 (351 days ago)
InstallationMedia: Ubuntu-MATE 15.04 "Vivid Vervet" - Release amd64 (20150422.1)
ProcEnviron:
 LANGUAGE=de_AT:de
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_AT.UTF-8
 SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: Upgraded to xenial on 2016-04-24 (49 days ago)
modified.conffile..etc.default.libvirt-guests: [modified]
modified.conffile..etc.libvirt.qemu.networks.default.xml: [modified]
mtime.conffile..etc.default.libvirt-guests: 2016-06-12T15:34:55.910265
mtime.conffile..etc.libvirt.qemu.networks.default.xml: 
2015-12-19T16:43:14.601700

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1591695

Title:
  libvirt-guest.sh will never sucessfully shutdown more than one virtual
  machine in my setup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1591695/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to