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 1662858

Summary: Please update edac-utils to version 0.18
Product: Red Hat Enterprise Linux 7 Reporter: Ole Holm Nielsen <ole.h.nielsen>
Component: edac-utilsAssignee: Aristeu Rozanski <arozansk>
Status: CLOSED ERRATA QA Contact: Jiri Dluhos <jdluhos>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.6CC: arozansk, fedora, jbastian, mgrondona, woodard
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: edac-utils-0.16-16.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:44:07 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:
Bug Depends On:    
Bug Blocks: 1656539    

Description Ole Holm Nielsen 2019-01-02 08:51:00 UTC
Description of problem:
Update of version 0.16 to 0.18 to fix the bugs in https://github.com/grondo/edac-utils/blob/master/NEWS.  We badly need this bugfix from the NEWS page:
Version 0.18 (2011-11-09);
- Do not print "No errors to report" with edac-util --quiet

Version-Release number of selected component (if applicable):
0.16

How reproducible:
Always

Steps to Reproduce:
1. edac-util --quiet

Actual results:
edac-util: No errors to report.

Expected results:
(no output expected with --quiet)

Additional info:
We need to run "edac-util --quiet" from crontab in order to detect EDAC soft memory errors.  The output should really be quiet, except when actual EDAC errors are present.

Comment 5 Trevor Cordes 2019-01-20 10:59:01 UTC
See bz #1277443.  If we can get it into Fedora, eventually it'll be in RHEL.

Is that github link the official upstream for edac-utils now?  Is 0.18 really from many years ago?

Comment 6 Ole Holm Nielsen 2019-01-21 07:57:43 UTC
(In reply to Trevor Cordes from comment #5)
> See bz #1277443.  If we can get it into Fedora, eventually it'll be in RHEL.

We need the updated edac-utils in RHEL7 today, thanks a lot!  We want to run edac-util on our production servers to monitor their health.
Fedora is not going to go onto our production servers.
Future RHEL versions (8?) is unfortunately not helping us today.

> Is that github link the official upstream for edac-utils now?  Is 0.18
> really from many years ago?

Yes, it seems so.  The edac-utils author is apparently Mark Grondona <mgrondona>, see
https://github.com/grondo/edac-utils/blob/master/AUTHORS
It's amazing that the update to 0.18 wasn't made years ago, but better late than never!
Hopefully the update 0.16->0.18 will be a simple one, given that only minor changes were introduced.

Comment 7 Aristeu Rozanski 2019-01-21 14:36:09 UTC
Yes, edac-utils was replaced by rasdaemon for quite a while. All new development happens there.

Comment 8 Ole Holm Nielsen 2019-01-21 14:41:42 UTC
Thanks a lot, I should take a closer look at rasdaemon!

Comment 9 Ben Woodard 2019-01-22 17:09:50 UTC
Since edac-utils is already in RHEL7, perhaps we can propose to pull back the trivial patch they need or update to 0.18, just to give the user more time to move to rasdaemon.

Comment 10 Mark A. Grondona 2019-01-22 17:15:14 UTC
The commit in question is here:

https://github.com/grondo/edac-utils/commit/c29b14d0d07184bd2d250bf355a1dee6faa47572

in case it is helpful.

Comment 11 Aristeu Rozanski 2019-01-22 17:18:10 UTC
That's what I did. Only backported the patch to fix the issue with --quiet.

Comment 12 Mark A. Grondona 2019-01-22 17:38:02 UTC
(In reply to Aristeu Rozanski from comment #11)
> That's what I did. Only backported the patch to fix the issue with --quiet.

Thanks!

Comment 13 Trevor Cordes 2019-01-23 07:53:49 UTC
Wow, I had never heard of rasdaemon, and I do a lot of linux reading and searching around for ECC details.  Thanks for that tidbit of info.  I'm using rasdaemon now.  The sqlite db aspect sounds like a really good idea.  Docs aren't so hot though.

For other people to find it in the future, perhaps a note in the edac-utils man page saying it's superseded by rasdaemon would be useful.

Thanks so much for the useful tip.  I'll share it with all my ECC buddies.

Comment 14 Ole Holm Nielsen 2019-01-23 09:21:34 UTC
(In reply to Trevor Cordes from comment #13)
> Wow, I had never heard of rasdaemon, and I do a lot of linux reading and
> searching around for ECC details.  Thanks for that tidbit of info.  I'm
> using rasdaemon now.  The sqlite db aspect sounds like a really good idea. 
> Docs aren't so hot though.

Did you see the rasdaemon docs in https://pagure.io/rasdaemon ?

Comment 20 Jiri Dluhos 2019-01-25 22:41:15 UTC
Confirming that the new package contains the fix, functionally.

# RHEL7.6 before installing new edac-utils (have edac-utils-0.16-15.el7)

$ edac-util --quiet
edac-util: No errors to report.

# new version downloaded 

$ rpm -U edac-utils-0.16-16.el7.x86_64.rpm 
$ edac-util --quiet
$

VERIFIED. :-)

Comment 22 errata-xmlrpc 2019-08-06 12:44:07 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-2019:2095