group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #16090
[Bug 1709224] Re: libvirt lxc can't stop all process when destroy vm.
Hi, sorry but since I can't reproduce (even without the ppa to test) I can't continue on a fix for now.
Please come back once you found the time to check
1. the ppa I provided for your case (since there are newer versions you need to force install that version from the ppa [1])
2. On the error case as I outlined it doesn't reproduce for me, please describe your case more in Detail and provide the full console log while it triggers. (We will need the steps to reproduce anyway if we eventually want to push to Xenial via SRU)
Until then I consider this timed out and set invalid, please set back to
new once you found the time to provide the extra data.
[1]: https://askubuntu.com/questions/92019/how-to-install-specific-
ubuntu-packages-with-exact-version
** Changed in: libvirt (Ubuntu Xenial)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1709224
Title:
libvirt lxc can't stop all process when destroy vm.
Status in libvirt package in Ubuntu:
Fix Released
Status in libvirt source package in Xenial:
Invalid
Bug description:
Environments:
System: zesty
libvirt version: 2.5.0-3ubuntu5
vm rootfs release: ubuntu:16.04
Reproduce:
1. Run command "virsh -c lxc:// start vm" and the release of vm is xenial
2. Run command "pa aux|grep init" ,you would find the pid of init launch by vm.
3. Run command "virsh -c lxc:// destroy vm".
4. Run command "virsh -c lxc:// list --all" and "ps aux|grep init" ,you could find that vm is shutoff, but the init process launch by vm is still running.
Infact I have found the case of this bug, there is a patch after 1.3.1
that import this bug.
-------------------------------------------------------------
Commit: dc576025c360a1d2c89da410d0f3f0da55d0143f [dc57602]
Parents: 511e7c5bba
Author: Daniel P. Berrange <berrange@xxxxxxxxxx>
Date: 2016年1月23日 GMT+8 上午12:07:18
Commit Date: 2016年1月27日 GMT+8 上午12:11:32
lxc: don't try to hide parent cgroups inside container
-------------------------------------------------------------
Cgroups inside container does't hide parent, so the process of container can change it own cgroup to another cgroup.
lxc destroy process by read cgroup tasks file,if process change it own cgroup,it can't destroy container process normally.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1709224/+subscriptions