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 1447761

Summary: lshw -version does not display the proper version information starting with B.02.18
Product: Red Hat Enterprise Linux 7 Reporter: Mike Gahagan <mgahagan>
Component: lshwAssignee: Petr Oros <poros>
Status: CLOSED ERRATA QA Contact: Mike Gahagan <mgahagan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.4Keywords: Regression
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lshw-B.02.18-7.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 20:57:42 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 Mike Gahagan 2017-05-03 18:25:06 UTC
Description of problem:
lshw -version does not display the correct information starting with B.02.18, this was working correctly with B.02.17

Version-Release number of selected component (if applicable):
lshw-B.02.18 (both release 4 and 5)

How reproducible:
always

Steps to Reproduce:
1.lshw -version
2.
3.

Actual results:
from B.02.17 (working)
[root@hp-eldorado-z8-01 ~]# rpm -ivh lshw-B.02.17-12.el7.x86_64.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:lshw-B.02.17-12.el7              ################################# [100%]
[root@hp-eldorado-z8-01 ~]# lshw -version
B.02.17

from B.02.18 (failed)
[root@hp-eldorado-z8-01 ~]# rpm -q lshw
lshw-B.02.18-5.el7.x86_64
[root@hp-eldorado-z8-01 ~]# lshw -version
unknown
the latest version is B.02.17

Expected results:
lshw B.02.18 should report the proper version number

Additional info:

Comment 5 Mike Gahagan 2017-05-19 19:56:05 UTC
This one can be verified.

[root@hp-eldorado-z8-01 ~]# rpm -Uvh http://download-node-02.eng.bos.redhat.com/brewroot/packages/lshw/B.02.18/7.el7/x86_64/lshw-B.02.18-7.el7.x86_64.rpm
Retrieving http://download-node-02.eng.bos.redhat.com/brewroot/packages/lshw/B.02.18/7.el7/x86_64/lshw-B.02.18-7.el7.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:lshw-B.02.18-7.el7               ################################# [ 50%]
Cleaning up / removing...
   2:lshw-B.02.18-6.el7               ################################# [100%]
[root@hp-eldorado-z8-01 ~]# lshw -version
B.02.18

Comment 6 errata-xmlrpc 2017-08-01 20:57:42 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/RHEA-2017:2046