I have a very trivial lxc-vm (just a shell)
lxc-vm.xml
<domain type='lxc'>
<name>lxc-vm</name>
<memory unit='KiB'>1048576</memory>
<os>
<type>exe</type>
<init>/bin/sh</init>
</os>
<devices>
<console type='pty'/>
</devices>
</domain>
On the host that looks like:
14209 - Sl ? 0:00 /usr/lib/libvirt/libvirt_lxc --name lxc-vm
--console 24 --security=apparmor
--handshake 28
14212 - Ss ? 0:00 \_ /bin/sh
I can start more from inside the shell it still exists when I drop out
(enter with virsh console and exit with the console exit key binding).
Once I virsh delete the libvirt-lxc container all processes it owned are gone.
Please can you:
1. retry with and without the ppa I provided
2. grab a full console log while you do so including your libvirt xml and post
it here?
** Changed in: libvirt (Ubuntu Xenial)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709224
Title:
libvirt lxc can't stop all process when destroy vm.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1709224/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs