Bug 244687

Summary: slapd does not create .pid file
Product: Red Hat Enterprise Linux 4 Reporter: Jan Safranek <jsafrane>
Component: openldapAssignee: Jan Safranek <jsafrane>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: jplans
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0739 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-15 16:04:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Safranek 2007-06-18 15:17:42 UTC
Description of problem:

running 'service ldap start' will not create /var/run/slapd.pid. The reason is
the slapd resigns root priviledges too early and 'ldap' uses does not have right
to create the .pid file.

Version-Release number of selected component (if applicable):

net-snmp-libs-5.1.2-11.EL4.10

How reproducible:
always

Steps to Reproduce:
1. service slapd start
  
Actual results:
no slapd.pid in /var/run/

Expected results:
slapd.pid exists in /var/run/

Additional info:
Fixed in RHEL 5: new directory /var/run/openldap is created with enough
priviledges to create the pid file by slapd.

Comment 1 RHEL Program Management 2007-06-18 15:44:56 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Jan Safranek 2007-06-19 08:35:23 UTC
Just a correction of the bug report:

Version-Release number of selected component (if applicable):
openldap-servers-2.2.13-6


Comment 7 errata-xmlrpc 2007-11-15 16:04:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0739.html