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 1677414 - sensors-detect version string displays 'sensors-detect revision $Revision$'
Summary: sensors-detect version string displays 'sensors-detect revision $Revision$'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lm_sensors
Version: 8.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.0
Assignee: Ondřej Lysoněk
QA Contact: Rachel Sibley
URL:
Whiteboard:
Depends On:
Blocks: 1741517 1743192 1755139
TreeView+ depends on / blocked
 
Reported: 2019-02-14 19:45 UTC by Rachel Sibley
Modified: 2023-04-08 09:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:43:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
spec file patch (734 bytes, patch)
2019-08-21 13:19 UTC, Ondřej Lysoněk
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Github lm-sensors/lm-sensors/commit/5c900c7e851cc1f0de81772432e37a54e9833f89 0 None None None 2020-05-04 09:25:06 UTC
Github lm-sensors/lm-sensors/commit/f1e1a7607caa96bda67920f76c795d1dc7d9a10c 0 None None None 2020-05-04 09:25:06 UTC
Red Hat Issue Tracker RHELPLAN-26745 0 None None None 2023-04-08 09:27:01 UTC
Red Hat Product Errata RHBA-2020:1784 0 None None None 2020-04-28 16:43:59 UTC

Description Rachel Sibley 2019-02-14 19:45:18 UTC
Description of problem:
When you run sensors-detect the date and version are missing from the beginning output, instead you will see $REVISION$ displayed.

Version-Release number of selected component (if applicable):
lm_sensors-3.4.0-17.20180522git70f7e08.el8.x86_64

How reproducible:
Always

Steps to Reproduce:
1. run 'sensors-detect'
2.
3.

Actual results:
Something like 'sensors-detect revision 6170'

Expected results:
version string in replacement of $

Additional info:
See rhel7 bug https://bugzilla.redhat.com/show_bug.cgi?id=1362658

Comment 3 Ondřej Lysoněk 2019-08-21 13:19:47 UTC
Created attachment 1606517 [details]
spec file patch

Comment 8 Ondřej Lysoněk 2019-10-17 13:40:53 UTC
Upstream patch (the version string therein needs to be modified to 3.4.0):
https://github.com/lm-sensors/lm-sensors/commit/5c900c7e851cc1f0de81772432e37a54e9833f89

Comment 9 Ondřej Lysoněk 2019-10-17 14:23:57 UTC
Another upstream commit:
https://github.com/lm-sensors/lm-sensors/commit/f1e1a7607caa96bda67920f76c795d1dc7d9a10c

Comment 13 Rachel Sibley 2020-03-25 20:34:52 UTC
ALL TESTS PASSED

Verified version string is displayed properly now with latest lm_sensors build:

Before:
===========
root@ci-vm-10-0-137-171 ~]# rpm -q lm_sensors
lm_sensors-3.4.0-20.20180522git70f7e08.el8.x86_64

[root@ci-vm-10-0-137-171 ~]# sensors-detect
# sensors-detect revision $Revision$

After:
===========
[root@ci-vm-10-0-138-18 ~]# rpm -q lm_sensors
lm_sensors-3.4.0-21.20180522git70f7e08.el8.x86_64

[root@ci-vm-10-0-138-18 ~]# sensors-detect
# sensors-detect version 3.4.0+git

It differs from the fact that it doesn't display the entire release string as compared to RHEL7, but I don't see it 
as a blocker. I can file a separate BZ if necessary.

RHEL7 example:

~]# sensors-detect
# sensors-detect revision 3.4.0-4 (2016-06-01)

Comment 15 errata-xmlrpc 2020-04-28 16:43:51 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/RHBA-2020:1784


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