Bug 879360
| Summary: | Libvirt leaks libvirt_lxc processes on container shutdown | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Daniel Berrangé <berrange> |
| Component: | libvirt | Assignee: | Daniel Berrangé <berrange> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4 | CC: | acathrow, ajia, bsarathy, dyasny, dyuan, mzhan, pkrempa, rwu, ydu |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.10.2-10.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 07:27:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 881827 | ||
|
Description
Daniel Berrangé
2012-11-22 16:53:01 UTC
Fix available upstream https://www.redhat.com/archives/libvir-list/2012-November/msg01009.html Fixed upstream:
commit 37db3f5dfe713b978732a9b84982892da857813a
Author: Daniel P. Berrange <berrange>
Date: Thu Nov 22 16:45:39 2012 +0000
Fix exiting of libvirt_lxc program on container quit
The virLXCControllerClientCloseHook method was mistakenly
assuming that the private data associated with the network
client was the virLXCControllerPtr. In fact it was just a
dummy int, so we were derefencing a bogus struct. The
frequent result of this was that we would never quit, because
we tried to arm a non-existant timer.
Fix the code by removing the dummy private data and just
using the virLXCControllerPtr instance as private data
Signed-off-by: Daniel P. Berrange <berrange>
and backported downstream:
http://post-office.corp.redhat.com/archives/rhvirt-patches/2012-November/msg00254.html
Verify this bug with libvirt-0.10.2-10.el6 Steps: # virsh -c lxc:/// virsh # start toy Domain toy started virsh # list Id Name State ---------------------------------------------------- 9842 toy running virsh # console toy Connected to domain toy Escape character is ^] sh-4.1# exit exit virsh # quit # ps axuwf | grep libvirt_lxc root 9858 0.0 0.0 103244 816 pts/0 S+ 18:19 0:00 \_ grep libvirt_lxc There's no libvirt_lxc process exists. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0276.html |