Symas OpenLDAP Knowledge Base

Preventing Core Dump Deletion

Created by Greg Noe, last modified on Jul 16, 2015

Problem

After a slapd crash, the core dump generated is deleted automatically by abrtd.

Seen On

RHEL 6+, CentOS6+

Cause

The OpenGPGCheck setting in /etc/abrt/abrt-action-save-package-data.conf is set to “yes” (this is the default setting). 

When set to “yes”, abrtd will only process packages that are signed with a GPG key located in /etc/abrt/gpg_keys.  Any core that isn’t generated from a signed package is automatically deleted.

Solution

Change the value for the OpenGPGCheck to “no”.

  1. Open /etc/abrt/abrt-action-save-package-data.conf in a text editor with root privileges.
  2. Change the value of OpenGPGCheck to “no”.
  3. Save the changes and close the editor

It is not necessary to restart the abrt daemon or slapd for the change to go in to effect.

Reference

Man page for abrt actions: abrt-action-save-package-data.conf(5)

[[RedHat abrt Configuration|https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sect-abrt-configuration-abrt]]