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 1705157

Summary: ABRT does not respect ulimit
Product: Red Hat Enterprise Linux 7 Reporter: Piyush Bhoot <pbhoot>
Component: man-pages-overridesAssignee: Nikola Forró <nforro>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.7CC: djez, fkrska, msuchy, nforro, ovasik
Target Milestone: rcKeywords: ManPageChange, Reopened
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: man-pages-overrides-7.8.0-1.el7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 19:40:34 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: 1738563    

Description Piyush Bhoot 2019-05-01 16:20:07 UTC
Description of problem:
ABRT does not respect ulimit values.
Coredump is generated even if core is set to 0


Version-Release number of selected component (if applicable):
abrt-2.1.11-50.el7.x86_64

How reproducible:
Always


Steps to Reproduce:
1.ulimit -c 0
2. cat /proc/sys/kernel/core_pattern 
|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h
3. sleep 1000&
4. kill -11 $!

Actual results:
Crash report generated in /var/spool/abrt

Expected results:
No crash report (or ulimit value respected)


Additional info:
If this is expected behavior what is role of %c here?
On FC 29 no crash report generated if limit is 0

Comment 3 Miroslav Suchý 2019-06-25 13:49:18 UTC
This was always this way. And it was always documented this way. I understand, that it would be nice to parse %c, but this would be a feature. With RHEL7 currently being already in Maintainance 1 phase, this will not get into RHEL 7.
In RHEL 8, this hook is not used as ABRT reads code dumps from coredumpctl - so it does not have the sense to work on this in upstream as well.

Comment 6 Nikola Forró 2019-06-26 09:10:15 UTC
Upstream commit to backport:
https://github.com/mkerrisk/man-pages/commit/97839a765d584aa4c46a1917f142915c91a9d61b

Comment 12 errata-xmlrpc 2020-03-31 19:40:34 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-2020:1025