[Pkg-openldap-devel] Bug#696563: Bug#696563: slapd not ready when start script exits, plase add sleep in starting script

Fabien C. kmstrj5c1e6z281 at jetable.org
Wed Dec 26 21:33:10 UTC 2012


Hello,

> I suggest reading followup #2 in
> <http://www.openldap.org/its/index.cgi/?findid=6848>, the upstream ITS
> dealing with this.  It is specifically noted that on a heavily loaded
> system, this can still occur.

I think the part dealing with an actual solution is more interesting:
---------------
> Some distros already deal with this in other ways - e.g. OpenSuSE waits
> until an ldapsearch on the null DN succeeds. This is done in the init.d
> script.

This is still by far the best solution. [...]
---------------

Maybe we could try this?

> The real solution is to switch to back-mdb from back-bdb/hdb, which
> doesn't have the heavy startup load that BDB based backends do.

Is that a real solution? I mean:
 - does it *guarantee* any result?
 - is it a good idea to restrict the user within this kind of choice?

Fabien



More information about the Pkg-openldap-devel mailing list