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