Bug 1819677 - perl-Sys-Statistics-Linux missing in EPEL-8
Summary: perl-Sys-Statistics-Linux missing in EPEL-8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-Sys-Statistics-Linux
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-01 09:53 UTC by Stefan Dietrich
Modified: 2020-04-28 04:20 UTC (History)
3 users (show)

Fixed In Version: perl-Sys-Statistics-Linux-0.66-21.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 04:20:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch for kernels >=4.18 (2.25 KB, text/plain)
2020-04-08 06:14 UTC, Stefan Dietrich
no flags Details

Description Stefan Dietrich 2020-04-01 09:53:42 UTC
Description of problem:

The package perl-Sys-Statistics-Linux is currently missing in EPEL-8. This package is useful for monitoring hosts with Icinga/Nagios, as certain checks rely on this perl module.

A plain "rpmbuild --rebuild" of the EPEL-7 SRPM works without additional modifications on CentOS 8.

Comment 2 Fedora Update System 2020-04-01 16:41:59 UTC
FEDORA-EPEL-2020-cc026660ab has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-cc026660ab

Comment 3 Fedora Update System 2020-04-02 02:29:22 UTC
FEDORA-EPEL-2020-cc026660ab has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-cc026660ab

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Stefan Dietrich 2020-04-08 06:12:44 UTC
There is an issue with perl-Sys-Statistics-Linux for kernels >=4.18, which I did not see during initial tests. It fails to parse /proc/diskstats correctly due to new fields.

This is the upstream bugreport:
https://rt.cpan.org/Public/Bug/Display.html?id=128904

This affects CentOS 8 and most likely Fedora as well.

A rebuild of the RPM from epel-testing with the patch works and the correct values are reported.
I have attached the patch to this bug entry as well.

Could the patch be included in the version for EPEL-8?

Comment 5 Stefan Dietrich 2020-04-08 06:14:35 UTC
Created attachment 1677137 [details]
Patch for kernels >=4.18

Comment 6 Emmanuel Seyman 2020-04-08 06:14:47 UTC
(In reply to Stefan Dietrich from comment #4)
>
> Could the patch be included in the version for EPEL-8?

I'll do this today or tomorrow.

Comment 7 Emmanuel Seyman 2020-04-08 21:36:42 UTC
Testing this on my F31 machine, I noticed the problem is a little more complex than that. The lines in /proc/diskstats have 15 fields on RHEL/CentOS 8 but 17 on F31+ so the patch needs to be adapted for both.

I've built a new package for rawhide and updates for stable systems will be done tomorrow.

Thank you for reporting this, Stefan. I now have the perfect bug to show people who claim EPEL has no benefit to Fedora.

Comment 8 Fedora Update System 2020-04-12 10:16:04 UTC
FEDORA-EPEL-2020-409a866a09 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-409a866a09

Comment 9 Fedora Update System 2020-04-13 18:47:16 UTC
FEDORA-EPEL-2020-409a866a09 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-409a866a09

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-04-28 04:20:07 UTC
FEDORA-EPEL-2020-409a866a09 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


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