Bug 1790427

Summary: Missing dependency of pcp-pmda-lmsensors on lm_sensors package
Product: Red Hat Enterprise Linux 8 Reporter: Jan Kurik <jkurik>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED DUPLICATE QA Contact: Jan Kurik <jkurik>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.2CC: agerstmayr, jkurik, mgoodwin, nathans, patrickm
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pcp-5.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-18 06:29:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kurik 2020-01-13 10:59:54 UTC
Description of problem:
Installation of pcp-pmda-lmsensors PMDA on a fresh RHEL-8.2 system fails due to missing dependency on lm_sensors package.

The need for installation of lm_sensors is decribed in https://github.com/performancecopilot/pcp/tree/master/src/pmdas/lmsensors/README file, however providing the dependency directly in RPM package improves user experience.

Version-Release number of selected component (if applicable):
* pcp-pmda-lmsensors-5.0.2-2.el8

How reproducible:
Always

Steps to Reproduce:
1.On a fresh RHEL-8.2 system install pcp-pmda-lmsensors
# yum install -y pcp-pmda-lmsensors

2. Run an installation script of the PMDA
# cd /var/lib/pcp/pmdas/lmsensors/ && ./Install

Actual results:
The installation fails with the following message:

No 'sensors' command found. Need to install lm_sensors or similar

Expected results:
The installation is passing without errors.

Comment 1 Nathan Scott 2020-02-19 05:54:26 UTC
commit 7f937052926f3581a8e50d4756efe4f9dd2162f3
Author: Nathan Scott <nathans>
Date:   Wed Feb 19 16:19:28 2020 +1100

    build: update fedora.spec with lm_sensors package dep for pcp-pmda-lmsensors
    
    Resolves Red Hat BZ #1790427

Comment 2 Nathan Scott 2020-03-18 06:29:21 UTC
Minor packaging issue, will be resolved via rebase.

*** This bug has been marked as a duplicate of bug 1792971 ***

Comment 3 Jan Kurik 2020-06-12 15:11:47 UTC
Verified on pcp-5.1.1-2.el8 build.