Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1679483

Summary: Use a better icon for RHEL 7+ guests
Product: Red Hat Enterprise Linux 8 Reporter: Pino Toscano <ptoscano>
Component: libguestfsAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED ERRATA QA Contact: YongkuiGuo <yoguo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: juzhou, linl, mtessun, ptoscano, rjones, virt-bugs, yoguo
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libguestfs-1.38.4-11.module+el8.1.0+3006+b7e94bb9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1679482
: 1679484 (view as bug list) Environment:
Last Closed: 2019-11-05 20:47:34 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:

Description Pino Toscano 2019-02-21 08:43:56 UTC
+++ This bug was initially created as a clone of Bug #1679482 +++

Description of problem:
When extracting the icon of RHEL 7 and greater (using the inspect_get_icon API), libguestfs uses the file: /usr/share/pixmaps/fedora-logo-sprite.png.
It turned out that this file is not a good choice, as (especially starting with RHEL 8) it is not a proper "logo", but more like a banner.

After talking with Ray Strode (who maintains redhat-logos), the better option for this is to use one of the system-logo-icon.png icons in the hicolor icon theme, for example:
/usr/share/icons/hicolor/96x96/apps/system-logo-icon.png

Steps to Reproduce:
1. get the icon of a RHEL 7 guest, for example using virt-inspector, or in virt-manager (after installing python-libguestfs)
2. look at the icon

Actual results:
- in RHEL 7 guests, it is a shadowman
- in RHEL 8 guests, it is a RHEL "banner"

Expected results:
- the same shadowman in RHEL 7 & 8

Additional info:
Patch proposed upstream for this:
https://www.redhat.com/archives/libguestfs/2019-February/msg00025.html

Comment 1 Pino Toscano 2019-04-10 10:01:01 UTC
Fixed upstream with
https://github.com/libguestfs/libguestfs/commit/c648052690a4a07a59c741308e0e8497d6f18057
which is in libguestfs >= 1.41.1.

Comment 3 YongkuiGuo 2019-04-15 05:58:52 UTC
Verified with package:
libguestfs-1.38.4-11.module+el8.1.0+3006+b7e94bb9.x86_64

Steps:

1. Install ImageMagick and ImageMagick-libs packages on rhel8 host
2.
# virt-inspector -a rhel7.6.raw | virt-inspector --xpath 'string(//icon)' | base64 -i -d | display -
# virt-inspector -a rhel8.0.raw | virt-inspector --xpath 'string(//icon)' | base64 -i -d | display -

Both are the shadowman. Verified this bug.

Comment 5 errata-xmlrpc 2019-11-05 20:47:34 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://access.redhat.com/errata/RHSA-2019:3345