RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1216298 - 'inspect-get-icon' fails to get the icon form the rhel7.1 image
Summary: 'inspect-get-icon' fails to get the icon form the rhel7.1 image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libguestfs
Version: 6.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Pino Toscano
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1164619
Blocks: 1301844
TreeView+ depends on / blocked
 
Reported: 2015-04-29 04:33 UTC by Hu Zhang
Modified: 2016-05-10 19:55 UTC (History)
7 users (show)

Fixed In Version: libguestfs-1.20.11-16.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 19:55:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0762 0 normal SHIPPED_LIVE libguestfs bug fix update 2016-05-10 22:33:40 UTC

Description Hu Zhang 2015-04-29 04:33:44 UTC
Description of problem:
'inspect-get-icon' fails to get the icon corresponding to rhel7.1 image. This works well on rhel7.1 host.


Version-Release number of selected component (if applicable):
libguestfs-1.20.11-14.el6.x86_64
libguestfs-tools-c-1.20.11-14.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Get a rhel7.1 raw image.

2. # guestfish -a $rhel7.1-img
><fs> run
><fs> inspect-os
/dev/rhel_dhcp-11-144/root
><fs> mount /dev/rhel_dhcp-11-144/root /
><fs> inspect-get-icon /dev/VolGroup/lv_root favicon:true highquality:true | tee icon.png

3. Check the icon.png
# file -b icon.png

Actual results:
Step 2, nothing returned.
Step 3,
# file -b icon.png
empty                                                                                      

Expected results:
'inspect-get-icon' gets the icon form the rhel7.1 image successfully.

Additional info:

Comment 2 Pino Toscano 2015-04-29 17:25:59 UTC
This has been fixed upstream and in RHEL 7.1, see bug #1164619.

Should be easy enough to backport the two commits.

Comment 4 Xianghua Chen 2015-12-02 06:18:25 UTC
Verified with the packages:
libguestfs-1.20.11-16.el6.x86_64
libguestfs-tools-c-1.20.11-16.el6.x86_64


Verify steps:
1. Get a rhel7.1 raw image:RHEL-Server-7.1-64-hvm.raw

2. # guestfish -a RHEL-Server-7.1-64-hvm.raw
><fs> run
 100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ --:--
><fs> inspect-os
/dev/rhel/root
><fs> mount /dev/rhel/root  /
><fs> inspect-get-icon /dev/rhel/root favicon:true highquality:true | tee icon.png

3. Check the icon.png
# file -b icon.png
PNG image data, 128 x 128, 16-bit/color RGBA, non-interlaced


So verified.

Comment 6 errata-xmlrpc 2016-05-10 19:55:44 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-0762.html


Note You need to log in before you can comment on or make changes to this bug.