[Pkg-libvirt-maintainers] Bug#897394: libvirt: Reboooting an application container reboots the host
Peter.Chubb at data61.csiro.au
Peter.Chubb at data61.csiro.au
Wed May 2 03:53:21 BST 2018
Package: libvirt-daemon
Version: 1:1.4.3-1
Severity: important
Dear Maintainer,
I created a simple application container on lxc:// using all the defaults, using
virt-manager, with /bin/sh as the application. When the application is
run I see a console with a root shell. All good so far.
I then want to shut down the container, so I select shutdown from the
virt-manager menu. But the host shuts down, not the application container.
The same thing happens using virsh directly.
virsh -c lxc:/// shutdown container1
shuts down the host as well as the container.
Likewise
virsh -c lxc:/// reboot container1
reboots the host.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-3-amd64 (SMP w/56 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages virt-manager depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.28.0-2
ii gir1.2-gtk-3.0 3.22.30-1
ii gir1.2-gtk-vnc-2.0 0.7.2-1
ii gir1.2-libosinfo-1.0 1.1.0-1
ii gir1.2-libvirt-glib-1.0 1.0.0-1
ii gir1.2-vte-2.91 0.52.1-1
ii librsvg2-common 2.40.20-2
ii python 2.7.15~rc1-1
ii python-dbus 1.2.6-1
ii python-gi 3.28.2-1
ii python-gi-cairo 3.28.2-1
ii python-libvirt 4.0.0-1
ii python-requests 2.18.4-2
ii python2.7 2.7.15-1
ii virtinst 1:1.4.3-1
Versions of packages virt-manager recommends:
ii gir1.2-spiceclientglib-2.0 0.34-1.1
ii gir1.2-spiceclientgtk-3.0 0.34-1.1
ii libvirt-daemon-system 4.2.0-2
Versions of packages virt-manager suggests:
pn gir1.2-secret-1 <none>
pn gnome-keyring <none>
pn python-guestfs <none>
pn ssh-askpass <none>
ii virt-viewer 6.0-2
-- no debconf information
--
Dr Peter Chubb Tel: +61 2 9490 5852 http://ts.data61.csiro.au/
Trustworthy Systems Group Data61 (formerly NICTA)
More information about the Pkg-libvirt-maintainers
mailing list