Bug 801788
Summary: | libguestfs holds open file descriptors when handle is launched | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | imcleod, leiwang, moli, qguan, qwan |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.16.10-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
No Documentation needed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 07:01:15 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: |
Description
Richard W.M. Jones
2012-03-09 14:01:32 UTC
Fixed upstream: https://github.com/libguestfs/libguestfs/commit/f1f045adf8d00549dd3efa3619e1162f9004b61e Hi Rich, I tried to reproduce this with the program "copy_over" you mentioned in the bug description, but I got same error for the old package and the latest one. Is it different error from this defect or the defect hasn't been fixed? Old package: # rpm -q libguestfs libguestfs-1.16.8-1.el6.x86_64 # ./copy_over rhel /root/file.test rhel6 /root libguestfs: error: file receive cancelled by daemon libguestfs: error: /dev/fd/5: error in chunked encoding New package: # rpm -q libguestfs libguestfs-1.16.10-1.el6.x86_64 # ./copy_over rhel /root/file.test rhel6 /root libguestfs: error: file receive cancelled by daemon libguestfs: error: /dev/fd/5: error in chunked encoding (In reply to comment #4) > Hi Rich, > > I tried to reproduce this with the program "copy_over" you mentioned in the bug > description, but I got same error for the old package and the latest one. Is it > different error from this defect or the defect hasn't been fixed? > > Old package: > # rpm -q libguestfs > libguestfs-1.16.8-1.el6.x86_64 > # ./copy_over rhel /root/file.test rhel6 /root > libguestfs: error: file receive cancelled by daemon > libguestfs: error: /dev/fd/5: error in chunked encoding > > New package: > # rpm -q libguestfs > libguestfs-1.16.10-1.el6.x86_64 > # ./copy_over rhel /root/file.test rhel6 /root > libguestfs: error: file receive cancelled by daemon > libguestfs: error: /dev/fd/5: error in chunked encoding This error is not the one you would expect from this bug. If you have this bug, then the test will *hang*. The error you're seeing is, oh joy, a different one. Can you run it again with: LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 ./copy_over [etc] and then post the full debug output into a NEW bug? (In reply to comment #5) > This error is not the one you would expect from this bug. > > If you have this bug, then the test will *hang*. > > The error you're seeing is, oh joy, a different one. Can > you run it again with: > > LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 ./copy_over [etc] > > and then post the full debug output into a NEW bug? Thanks, checked the debug output, I find it happened because the src was a file, and it should be a directory. So it's not a bug. And I reproduced the hang with correct command line, with the new package (libguestfs-1.16.10-1.el6), the copy can finish without issue: # ./copy_over rhel /root/ rhel6 /tmp copy finished, elapsed time (excluding launch) was 0.498 s So change this to VERIFIED. 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: No Documentation needed. 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-2012-0774.html |