[Pkg-openldap-devel] Bug#370337: Bug#370337: /etc/default/slap hang when given options to slapd

Quanah Gibson-Mount quanah at zimbra.com
Mon May 5 14:01:40 UTC 2008


--On Monday, May 05, 2008 11:57 AM +0200 Pascal Carrié <pascal at iepala.es> 
wrote:

> Package: slapd
> Followup-For: Bug #370337
>
> hi,
> if you give an option in /etc/default/slapd (like SLAPD_OPTIONS="-d
> 16383") the start-stop-daemon do not release the console (do not go to
> the  background), the slapd is up but without considering the given
> options. I have try to start manualy the daemon :
>  slapd -h 'ldap:/// ldaps:///' -g openldap -u openldap -f
> /etc/ldap/slapd.conf -d 16383 and it's work fine but
> if you try with :
> start-stop-daemon --start --quiet --background --oknodo --pidfile
> /var/run/slapd/slapd.pid  --exec /usr/sbin/slapd --  -d 16383 it's hang
> just as when you lauch with the /etc/init.d/slapd script anyway, thanks
> for your exelent job
> pascal

That's because if you use -d, slapd never detaches.  This is an expected 
behavior.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration





More information about the Pkg-openldap-devel mailing list