Bug 459509

Summary: openldap 2.4 init script fails due to non-existent slurpd
Product: [Fedora] Fedora Reporter: Jeff Sheltren <sheltren>
Component: openldapAssignee: Jan Safranek <jsafrane>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: marco.crosio
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-20 14:27:13 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:
Attachments:
Description Flags
Proposed fix for init script none

Description Jeff Sheltren 2008-08-19 15:40:22 UTC
Description of problem:
service ldap start fails and does not output any error.

Version-Release number of selected component (if applicable):
openldap-2.4.11-1.fc10

How reproducible:
From a clean install, run 'service ldap start'

Steps to Reproduce:
1. Install openldap-servers
2. service ldap start
  
Actual results:
No error output, but init script fails due to missing slurpd binary.


Expected results:
slapd should be started

Additional info:
slurpd has been deprecated in openldap 2.4 and is no longer included.  See
http://www.openldap.org/doc/admin24/replication.html#Replacing%20Slurpd

Attached is a patch against ldap.init to remove slurpd references and checks

Comment 1 Jeff Sheltren 2008-08-19 15:41:35 UTC
Created attachment 314552 [details]
Proposed fix for init script

Trying attachment again...

Comment 2 Jan Safranek 2008-08-20 08:30:52 UTC
Where did you get the /etc/init.d/ldap script from? I just checked that openldap-servers-2.4.11-1.fc10 (i.e. latest in rawhide) comes with init script which does not contain any 'slurpd'.

It seems to me there is something wrong in your system. It's possible that RPM did not replace old initscript with new one, could you please check it?

Please run 'rpm -q openldap-servers' and 'rpm -V openldap-servers' and review results.

Comment 3 Jeff Sheltren 2008-08-20 14:09:55 UTC
Hi Jan, you're absolutely right.  Somehow I switched the ldap init script with an older one.  Sorry for the noise.