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

Steve Langasek vorlon at debian.org
Sat Dec 22 23:54:51 UTC 2012


tags 696563 -patch
thanks

On Sat, Dec 22, 2012 at 11:03:28PM +0100, Fabien C. wrote:

> It is probably necessary to add in the /etc/init.d/slapd script, either a
> "sleep 2" or more, either a detection of the "readyness" of the slapd
> daemon.  One could also patch the slapd server, so it could handle this
> situation itself.

This is absolutely not an acceptable fix for this bug.  A 'sleep' only
reduces the frequency of a race, it does not eliminate it.  We need to find
out why the parent slapd process is again exiting before it's ready to
listen for connections - this is a regression, for a bug that was very
specifically supposed to have been fixed upstream in 2.4.28.  See bug
#589915 for the history.

The source files that were being patched for this haven't changed upstream
since 2.4.28, so I'm not sure what will have gone wrong.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20121222/8f8ca627/attachment.pgp>


More information about the Pkg-openldap-devel mailing list