Bug 974489
Summary: | Regression: Fedora inspection broken by change from guestfs_exists to guestfs_is_file | |||
---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Richard W.M. Jones <rjones> | |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | unspecified | CC: | dyasny, kchamart, mbooth | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 974490 (view as bug list) | Environment: | ||
Last Closed: | 2013-06-14 19:29:22 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: | 974490 |
Description
Richard W.M. Jones
2013-06-14 09:20:01 UTC
VERIFIED on the latest git, after applying the above patches: $ git log --pretty=oneline | head -2 159ed220beaf9e8970f24163b75023fcf84ca9e0 inspection: Fix inspection of Fedora guests (RHBZ#974489). 20b5bac996102e6ef5d73155a7a3c85bd06170b1 Add followsymlinks flag to is-file, is-dir, is-blockdev, is-chardev, is-fifo and is-socket APIs. $ ./autogen.sh && make -j 7 \ && time make -k check LIBGUESTFS_DEBUG=1 \ LIBGUESTFS_TRACE=1 | \ tee /var/tmp/extra-tests-make-check-libugestfs-14-JUN.log $ ./run ./inspector/virt-inspector \ -a /var/lib/libvirt/images/fed18.qcow2 \ | tee /tmp/inspection.txt $ egrep -i 'distro|major_version' /tmp/inspection.txt <distro>fedora</distro> <major_version>18</major_version> Works on a RHEL image too: $ ./run ./inspector/virt-inspector -a \ /var/lib/libvirt/images/el6box1.qcow2 2>&1 | tee /tmp/inspection2.txt $ egrep -i 'distro|major_version' /tmp/inspection2.txt <distro>rhel</distro> <major_version>6</major_version> This is now fixed upstream and in libguestfs >= 1.22.3. |