Bug 746253 - /usr/sbin/slapd segfault is not caught by abrt
Summary: /usr/sbin/slapd segfault is not caught by abrt
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jiri Moskovcak
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-14 14:39 UTC by Yogesh
Modified: 2015-02-01 22:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-25 12:19:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yogesh 2011-10-14 14:39:59 UTC
Description of problem:
If I run slapd as daemon and send sig 11 or sig 6 to slapd process, it is not caught by abrt.

Version-Release number of selected component (if applicable):
openldap-servers-2.4.23-15.el6_1.3.x86_64

How reproducible:
always

Steps to Reproduce:
1. service slapd stop ; service slapd stop ; ps aux | grep slapd
2.  kill -11 <pid of slapd>
  
Actual results:
abrt daemon does not detect this

Expected results:
abrt should detect this and this crash should be listed in abrt-cli -l

Comment 6 Karel Klíč 2011-10-20 12:43:04 UTC
When /usr/sbin/slapd is run via init scripts, it is run with argument -u user. This causes slapd to call setgid, setegid, setuid, and seteuid functions to change the daemon user.

Manual page core(5) says, that coredump is not produced if "The process is executing a set-user-ID (set-group-ID) program that is owned by a user (group) other than the real user (group) ID of the process."

This seems to be the issue in this case. A solution might be to change the user in the init script, before running the daemon.

Comment 7 RHEL Program Management 2011-10-25 05:47:32 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.


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