Bug 690286
Summary: | augeas occasionally leaks fd's and returns errors during initialization of netcf | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Laine Stump <laine> | ||||
Component: | augeas | Assignee: | David Lutterkort <lutter> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.1 | CC: | adevolder, apevec, ddugger, hbrock, hui.xiao, jane.lv, jvillalo, jwilleford, jzheng, leiwang, luyu, prc, rwu, whuang, yang.z.zhang | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | augeas-0.7.2-6.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
augeas was not thread safe, and could leak file descriptors when multiple programs attempted to use the libvirt library simultaneously. This resulted in the failure of the calling program. augeas has been modified to remove the global variable that caused this threading issue.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-05-19 13:54:26 UTC | Type: | --- | ||||
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: | 670961 | ||||||
Attachments: |
|
Description
Laine Stump
2011-03-23 19:35:54 UTC
There is one more upstream patch needed to fix this: commit 35c86e740c268ec7fefa5b32a964419cc5e112c0 Author: David Lutterkort <lutter> Date: Tue Mar 8 13:44:51 2011 -0800 Be more defensive about closing input files for the lexer Built augeas-0.7.2-6.el6 to address this issue; see https://brewweb.devel.redhat.com//taskinfo?taskID=3203845 *** Bug 687973 has been marked as a duplicate of this bug. *** verify this bug in RHEL6 with augeas-0.7.2-6.el6 steps : 1.update augeas to 0.7.2-6 2.run the "while true; do virsh iface-list; done" in two shell windows No more show error message 3.run the libvirtd with NETCF_DEBUG=1 No more show warning message like: "augeas initialization had errors" 4.lsof |grep aug libvirtd 2812 root mem REG 8,3 301944 1705059 /usr/lib64/libaugeas.so.0.11.0 perl 17548 root DEL REG 8,3 1733213 /usr/lib64/libaugeas.so.0.11.0 Created attachment 488983 [details]
augeas make check
augeas make check all tests passed
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: augeas was not thread safe, and could leak file descriptors when multiple programs attempted to use the libvirt library simultaneously. This resulted in the failure of the calling program. augeas has been patched to be more threadsafe, so this issue no longer occurs. Change the last sentence to 'Augeas has been modified to remove the global variable that caused this threading issue' (It is by all accounts not just more threadsafe, but just plain threadsafe now) Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -augeas was not thread safe, and could leak file descriptors when multiple programs attempted to use the libvirt library simultaneously. This resulted in the failure of the calling program. augeas has been patched to be more threadsafe, so this issue no longer occurs.+augeas was not thread safe, and could leak file descriptors when multiple programs attempted to use the libvirt library simultaneously. This resulted in the failure of the calling program. augeas has been modified to remove the global variable that caused this threading issue. *** Bug 635669 has been marked as a duplicate of this bug. *** An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0650.html |