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.
DescriptionRichard W.M. Jones
2021-11-23 13:19:08 UTC
+++ This bug was initially created as a clone of Bug #1995391 +++
[I cloned this bug because part of the fix happens in guestfs-tools]
Description of problem:
virt-inspector fails to detect the distro, package_format, package_management and applications on Kylin-Desktop-V10 image.
Version-Release number of selected component (if applicable):
guestfs-tools-1.46.1-3.el9.1.x86_64
How reproducible:
100%
Steps:
1. Create Kylin-Desktop-V10.qcow2 image with Kylin-Desktop-V10-SP1-RC5-Build01-hwe-210521-x86_64.iso
2.
$ virt-inspector -a Kylin-Desktop-V10.qcow2
<?xml version="1.0"?>
<operatingsystems>
<operatingsystem>
<root>/dev/sda3</root>
<name>linux</name>
<arch>x86_64</arch>
<product_name>Kylin V10 SP1</product_name>
<major_version>10</major_version>
<minor_version>0</minor_version>
<hostname>yoguo-Standard-PC</hostname>
<mountpoints>
<mountpoint dev="/dev/sda3">/</mountpoint>
<mountpoint dev="/dev/sda1">/boot</mountpoint>
</mountpoints>
<filesystems>
<filesystem dev="/dev/sda1">
<type>ext4</type>
<uuid>b09bcfbf-480e-4338-9ff5-1304c591dbe3</uuid>
</filesystem>
<filesystem dev="/dev/sda2">
<type>swap</type>
<uuid>3e8bcddc-5b2f-4459-a82e-6cdb41b24d74</uuid>
</filesystem>
<filesystem dev="/dev/sda3">
<type>ext4</type>
<uuid>b664095d-dbf1-4476-b759-3266b67e74bc</uuid>
</filesystem>
</filesystems>
<applications/>
</operatingsystem>
</operatingsystems>
Actual results:
As above
Expected results:
virt-inspector can be able to detect the distro, package_format, package_management and applications correctly.
--- Additional comment from Laszlo Ersek on 2021-10-14 18:01:26 UTC ---
(In reply to Laszlo Ersek from comment #17)
> [PATCH] daemon: inspection: Add support for Kylin (RHBZ#1995391).
> Message-Id: <20211013163023.21786-1-lersek>
> https://listman.redhat.com/archives/libguestfs/2021-October/msg00058.html
Merged upstream as (libguestfs) commit 305b02e7e74a.
> [guestfs-tools PATCH 0/2] refresh "virt-inspector.rng", recognize kylin
> Message-Id: <20211013163043.21837-1-lersek>
> https://listman.redhat.com/archives/libguestfs/2021-October/msg00059.html
Merged upstream as (guestfs-tools) commit range a4930f5fad82..f041a5e24d8c.
(Manual backporting looks unjustified; let's wait for the next rebase(s) with these.)
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 (new packages: guestfs-tools), 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/RHBA-2022:2461