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 1337186

Summary: Log that we coredump before creating the core
Product: Red Hat Enterprise Linux 7 Reporter: Matej Habrnal <mhabrnal>
Component: abrtAssignee: Matej Habrnal <mhabrnal>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jberan, mkyral
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: abrt-2.1.11-43.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 03:09:24 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:
Attachments:
Description Flags
Patch 1/2: ccpp: unify log message of ignored crashes
none
Patch 2/2: abrt-hook-ccpp: save get_fsuid() return values in int variables
none
Patch 1/1: lib: check_recent_crash_file do not produce error_msg none

Description Matej Habrnal 2016-05-18 12:53:41 UTC
Description of problem:
Due to this issue [1] ABRT should log before creating the core.

How reproducible:
always

Actual results:
abrt does not log before creating the core

Expected results:
abrt logs before creating the core


Additional info:
Upstream commits:
https://github.com/abrt/abrt/commit/a72d05b10deb6303440f8a63c729d19d214ca964
https://github.com/abrt/abrt/commit/bba88474e4d4192d9197ab148d064adcc93083a9
https://github.com/abrt/abrt/commit/6c2ef3d4ab09a330153fd8dd228bd7103c0d7583
https://github.com/abrt/abrt/commit/4b2109f3379aec3347871f595fbff09cf34f85e7


[1] https://github.com/scylladb/scylla/issues/784

Comment 1 Matej Habrnal 2016-05-18 15:26:17 UTC
Related upstream testcase:
https://github.com/abrt/abrt/tree/master/tests/runtests/ccpp-plugin-hook-ignoring

Comment 2 Matej Habrnal 2016-05-19 10:56:19 UTC
An upstream pull request with tests:
https://github.com/abrt/abrt/pull/1146

Comment 3 Matej Habrnal 2016-05-26 13:03:58 UTC
Created attachment 1161983 [details]
Patch 1/2: ccpp: unify log message of ignored crashes

Comment 4 Matej Habrnal 2016-05-26 13:04:00 UTC
Created attachment 1161984 [details]
Patch 2/2: abrt-hook-ccpp: save get_fsuid() return values in int variables

Comment 6 Matej Habrnal 2016-08-16 14:33:04 UTC
We have to added the following upstream patch [1] to avoid duplication of repeating crash log messages.

[1] https://github.com/abrt/abrt/commit/49511273a0ef11c6b50312374d44e6f78f8e2b9c

Comment 7 Matej Habrnal 2016-08-18 09:19:20 UTC
Created attachment 1191828 [details]
Patch 1/1: lib: check_recent_crash_file do not produce error_msg

Comment 11 errata-xmlrpc 2016-11-04 03:09:24 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://rhn.redhat.com/errata/RHBA-2016-2307.html