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 2000834

Summary: virt-what fails to detect docker
Product: Red Hat Enterprise Linux 8 Reporter: YongkuiGuo <yoguo>
Component: virt-whatAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED ERRATA QA Contact: YongkuiGuo <yoguo>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.5CC: rjones, virt-maint
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-what-1.18-13.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 15:29:38 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 YongkuiGuo 2021-09-03 06:54:26 UTC
Description of problem:
After creating a container with rhel8.4 image in docker, run virt-what in the container and there is no output.


Version-Release number of selected component (if applicable):
virt-what-1.18-12.el8


How reproducible:
100%


Steps:

1. Install docker on RHEL8.5 bare metal
2. Pull a roboxes/rhel8 image
3. Create and run a container with the above image
4. Upgrade virt-what to 1.18-12
5. Run virt-what in container
# virt-what
--- no output


Actual results:
As above

Expected results:
The result of virt-what should be 'docker'.

Additional info:
This issue is fixed in upstream. Please see commits:
57f0c3cc6a7e631f644d67f05b002c6004bb6601
e2c49cda221f95cb65b1b3ac3ae15aa41d92f519

Comment 2 YongkuiGuo 2021-09-14 07:32:04 UTC
Try to verify with package:
virt-what-1.18-13.el8

Steps:

1. Inside the container
[root@0f8f189a44ce ~]# rpm -Uvh virt-what-1.18-13.el8.x86_64.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:virt-what-1.18-13.el8            ################################# [ 50%]
Cleaning up / removing...
   2:virt-what-1.18-12.el8            ################################# [100%] 
[root@0f8f189a44ce ~]# virt-what
docker

The result is correct.

Comment 5 YongkuiGuo 2022-01-12 12:26:36 UTC
Verified this bug according to the following output:

[root@0f8f189a44ce ~]# rpm -q virt-what
virt-what-1.18-13.el8.x86_64
[root@0f8f189a44ce ~]# virt-what
docker

Comment 7 errata-xmlrpc 2022-05-10 15:29:38 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 (virt-what bug fix and enhancement update), 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:2090