[Pkg-libvirt-maintainers] Bug#911923: Bug#911923: Please suspend the domains on shutdown

Guido Günther agx at sigxcpu.org
Sat Oct 27 16:49:44 BST 2018


Hi,
On Fri, Oct 26, 2018 at 09:55:32AM +0200, Laurent Bigonville wrote:
> Package: libvirt-daemon-system
> Version: 4.7.0-1+b1
> Severity: normal
> File: /etc/default/libvirt-guests
> 
> Hi,
> 
> Currently, libvirt in debian is (trying) to shutdown the domains when
> the host is shutdown.
> 
> This is different from upstream behaviour, any reasons that has been
> changed?

The main reasons are that it does not require any additional disk space
and that it works with libvirtd's domain autostart.
 -- Guido

> 
> I'm asking because some OS (windows) are not shutting down when the
> shutdown signal is sent if there is a locked user session.
> 
> On desktop machine where people are virtualizing windows, this is a
> problem because the shutdown will need to wait the timeout of the
> libvirt-guests script.
> 
> On the side note, upstream also resume the domains on boot, but that
> might be a bit too much to enabled that by default.
> 
> Kind regards,
> 
> Laurent Bigonville
> 
> -- System Information:
> Debian Release: buster/sid
>   APT prefers unstable-debug
>   APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
> 
> Versions of packages libvirt-daemon-system depends on:
> ii  adduser                3.118
> ii  debconf [debconf-2.0]  1.5.69
> ii  firewalld              0.6.3-1
> ii  gettext-base           0.19.8.1-8
> ii  iptables               1.8.1-2
> ii  libacl1                2.2.52-3+b1
> ii  libapparmor1           2.13.1-1
> ii  libaudit1              1:2.8.4-2
> ii  libblkid1              2.32.1-0.1
> ii  libc6                  2.27-6
> ii  libcap-ng0             0.7.9-1
> ii  libdbus-1-3            1.12.10-1
> ii  libdevmapper1.02.1     2:1.02.145-4.1
> ii  libgnutls30            3.5.19-1+b1
> ii  libnl-3-200            3.4.0-1
> ii  libnl-route-3-200      3.4.0-1
> ii  libnuma1               2.0.12-1
> ii  libselinux1            2.8-1+b1
> ii  libvirt-clients        4.7.0-1+b1
> ii  libvirt-daemon         4.7.0-1+b1
> ii  libvirt0               4.7.0-1+b1
> ii  libxml2                2.9.4+dfsg1-7+b1
> ii  libyajl2               2.1.0-3
> ii  logrotate              3.14.0-4
> ii  lsb-base               9.20170808
> ii  policykit-1            0.115-1
> 
> Versions of packages libvirt-daemon-system recommends:
> ii  bridge-utils                 1.5-16
> ii  dmidecode                    3.2-1
> ii  dnsmasq-base [dnsmasq-base]  2.80-1
> ii  ebtables                     2.0.10.4-5
> ii  iproute2                     4.18.0-2
> ii  parted                       3.2-23
> 
> Versions of packages libvirt-daemon-system suggests:
> ii  apparmor    2.13.1-1
> ii  auditd      1:2.8.4-2
> pn  nfs-common  <none>
> pn  open-iscsi  <none>
> ii  pm-utils    1.4.1-18
> pn  radvd       <none>
> ii  systemd     239-10
> pn  systemtap   <none>
> pn  zfsutils    <none>
> 
> -- Configuration Files:
> /etc/libvirt/nwfilter/allow-arp.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/allow-arp.xml'
> /etc/libvirt/nwfilter/allow-dhcp-server.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/allow-dhcp-server.xml'
> /etc/libvirt/nwfilter/allow-dhcp.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/allow-dhcp.xml'
> /etc/libvirt/nwfilter/allow-incoming-ipv4.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/allow-incoming-ipv4.xml'
> /etc/libvirt/nwfilter/allow-ipv4.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/allow-ipv4.xml'
> /etc/libvirt/nwfilter/clean-traffic-gateway.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/clean-traffic-gateway.xml'
> /etc/libvirt/nwfilter/clean-traffic.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/clean-traffic.xml'
> /etc/libvirt/nwfilter/no-arp-ip-spoofing.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-arp-ip-spoofing.xml'
> /etc/libvirt/nwfilter/no-arp-mac-spoofing.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-arp-mac-spoofing.xml'
> /etc/libvirt/nwfilter/no-arp-spoofing.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-arp-spoofing.xml'
> /etc/libvirt/nwfilter/no-ip-multicast.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-ip-multicast.xml'
> /etc/libvirt/nwfilter/no-ip-spoofing.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-ip-spoofing.xml'
> /etc/libvirt/nwfilter/no-mac-broadcast.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-mac-broadcast.xml'
> /etc/libvirt/nwfilter/no-mac-spoofing.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-mac-spoofing.xml'
> /etc/libvirt/nwfilter/no-other-l2-traffic.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-other-l2-traffic.xml'
> /etc/libvirt/nwfilter/no-other-rarp-traffic.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/no-other-rarp-traffic.xml'
> /etc/libvirt/nwfilter/qemu-announce-self-rarp.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/qemu-announce-self-rarp.xml'
> /etc/libvirt/nwfilter/qemu-announce-self.xml [Errno 13] Permission non accordée: '/etc/libvirt/nwfilter/qemu-announce-self.xml'
> /etc/libvirt/qemu.conf [Errno 13] Permission non accordée: '/etc/libvirt/qemu.conf'
> /etc/libvirt/qemu/networks/default.xml [Errno 13] Permission non accordée: '/etc/libvirt/qemu/networks/default.xml'
> 
> -- debconf information excluded
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers



More information about the Pkg-libvirt-maintainers mailing list