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 - ABRT does not respect ulimit
Summary: ABRT does not respect ulimit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: man-pages-overrides
Version: 7.7
Hardware: All
OS: All
unspecified
medium
Target Milestone: rc
: ---
Assignee: Nikola Forró
QA Contact: David Jež
URL:
Whiteboard:
Depends On:
Blocks: 1738563
TreeView+ depends on / blocked
 
Reported: 2019-05-01 16:20 UTC by Piyush Bhoot
Modified: 2023-09-07 19:58 UTC (History)
5 users (show)

Fixed In Version: man-pages-overrides-7.8.0-1.el7
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 19:40:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1025 0 None None None 2020-03-31 19:40:52 UTC

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


Note You need to log in before you can comment on or make changes to this bug.