[Pkg-openldap-devel] Bug#369093: wrong path to slapd executable in /etc/init.d/slapd

Peter Marschall peter at adpm.de
Sat May 27 13:07:03 UTC 2006


Package: slapd
Version: 2.3.23-1
Severity: normal
Tags: patch

Hi,

openldap2.3's slapd init file contains a wrong path
to slapd's executable (/usr/lib/slapd instead of /usr/sbin/slapd)

The attached patch fixes it.

Hope it helps
Peter


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages slapd depends on:
ii  coreutils [fileutils]   5.94-1           The GNU core utilities
ii  debconf                 1.5.1            Debian configuration management sy
ii  fileutils               5.94-1           The GNU file management utilities 
ii  libc6                   2.3.6-7          GNU C Library: Shared libraries
ii  libdb4.2                4.2.52-23.1      Berkeley v4.2 Database Libraries [
ii  libiodbc2               3.52.4-3         iODBC Driver Manager
ii  libldap-2.3-0           2.3.23-0pm1      OpenLDAP libraries
ii  libltdl3                1.5.22-4         A system independent dlopen wrappe
ii  libperl5.8              5.8.8-4          Shared Perl library
ii  libsasl2                2.1.19.dfsg1-0.2 Authentication abstraction library
ii  libslp1                 1.2.1-5          OpenSLP libraries
ii  libssl0.9.8             0.9.8a-8         SSL shared libraries
ii  libwrap0                7.6.dbs-9        Wietse Venema's TCP wrappers libra
ii  perl [libmime-base64-pe 5.8.8-4          Larry Wall's Practical Extraction 
ii  psmisc                  22.2-1           Utilities that use the proc filesy

Versions of packages slapd recommends:
ii  db4.2-util              4.2.52-23.1      Berkeley v4.2 Database Utilities
ii  libsasl2-modules        2.1.19.dfsg1-0.2 Pluggable Authentication Modules f

-- debconf information excluded
-------------- next part --------------
--- debian/slapd.init
+++ debian/slapd.init	2006-05-27 15:01:17.000000000 +0200
@@ -129,7 +129,7 @@
 
 	# Make sure there is no slapcat and no slapd running as we might
 	# break the DB in that case
-	if pidof /usr/lib/slapd >/dev/null; then
+	if pidof /usr/sbin/slapd >/dev/null; then
 		echo -n " (slapd running, no recovery), "
 		return 0
 	fi


More information about the Pkg-openldap-devel mailing list