Bug 1401042

Summary: abrt does not reliably override systemd-coredump's hook with its own coredump hook
Product: [Fedora] Fedora Reporter: Robert Hancock <robert.hancock>
Component: abrtAssignee: abrt <abrt-devel-list>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: abrt-devel-list, dcallagh, iprikryl, jakub, mhabrnal, michal.toman, mmilata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:03:18 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:

Description Robert Hancock 2016-12-02 15:49:06 UTC
Description of problem:
The abrt-ccpp service installs its core_pattern hook to allow it to handle coredumps when it starts up. However, it appears that this doesn't consistently happen after systemd installs its own coredump hook (via sysctl, triggered by /usr/lib/sysctl.d/50-coredump.conf) so the system ends up with cores being handled by systemd-coredump instead (which is currently broken as described in bug 1365435). This results in ABRT reporting being non-functional. My understanding is that the intention was abrt-ccpp should override systemd-coredump in F25. If that's the case it seems like the systemd sysctl should be disabled entirely by default.

Version-Release number of selected component (if applicable):
abrt-addon-ccpp-2.9.0-1.fc25.x86_64

How reproducible:
Sometimes (may be a race condition). This system is a fairly fast Haswell quad-core machine with an SSD.

Steps to Reproduce:
1. Boot up
2.
3.

Actual results:
/proc/sys/kernel/core_pattern refers to systemd-coredump
Process core dumps are not detected by ABRT (even with abrt-journal-core.service enabled as systemd-coredump currently seems broken due to bug 1365435)

Expected results:
/proc/sys/kernel/core_pattern refers to /usr/libexec/abrt-hook-ccpp
ABRT detects coredumps properly
Additional info:

Comment 1 Fedora End Of Life 2017-11-16 14:16:52 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-12-12 10:03:18 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.