[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#566973: debian-edu-config: fetch-ldap-cert init.d script should start later during boot



Package:  debian-edu-config
Version:  1.432
User:     debian-edu@lists.debian.org
UserTags: debian-edu

I noticed this when testing the Squeeze based Debian Edu.  The
fetch-ldap-cert script do not start after slapd, and would thus fail
if it need to connect to the LDAP server on the local machine to fetch
the LDAP certificate.

This patch solve the problem.  The script need a working LDAP server,
not a working web server.

Index: debian/debian-edu-config.fetch-ldap-cert
===================================================================
--- debian/debian-edu-config.fetch-ldap-cert    (revision 62090)
+++ debian/debian-edu-config.fetch-ldap-cert    (working copy)
@@ -3,8 +3,7 @@
 # Provides:          fetch-ldap-cert
 # Required-Start:    $local_fs $remote_fs
 # Required-Stop:     $local_fs $remote_fs
-# Should-Start:      $network $syslog apache apache2
-# Should-Stop:       $network $syslog apache apache2
+# Should-Start:      $network $syslog slapd
 # Default-Start:     2 3 4 5
 # Default-Stop:
 # Short-Description: Fetch LDAP SSL public key from the server

Happy hacking,
-- 
Petter Reinholdtsen



Reply to: