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

2012-12-27 Thread Steve Langasek
On Sun, Dec 23, 2012 at 12:09:08PM -0800, Quanah Gibson-Mount wrote: > --On Saturday, December 22, 2012 3:54 PM -0800 Steve Langasek > wrote: > >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

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

2012-12-26 Thread Fabien C.
Hello, > I suggest reading followup #2 in > , 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:

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

2012-12-23 Thread Quanah Gibson-Mount
--On Saturday, December 22, 2012 3:54 PM -0800 Steve Langasek wrote: 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

Bug#696563: slapd not ready when start script exits, plase add sleep in starting script

2012-12-23 Thread Dan White
On 12/23/12 02:27 +0100, Fabien C. wrote: Hello, This is absolutely not an acceptable fix for this bug. A 'sleep' only reduces the frequency of a race, it does not eliminate it. Yes, I totally agree, it would only be a dirty workaround. However, when the issue is complicated to fix, I think

Bug#696563: slapd not ready when start script exits, plase add sleep in starting script

2012-12-22 Thread Fabien C.
Hello, > This is absolutely not an acceptable fix for this bug. A 'sleep' only > reduces the frequency of a race, it does not eliminate it. Yes, I totally agree, it would only be a dirty workaround. However, when the issue is complicated to fix, I think that reducing problem frequency in the m

Bug#696563: slapd not ready when start script exits, plase add sleep in starting script

2012-12-22 Thread Steve Langasek
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 ha

Bug#696563: slapd not ready when start script exits, plase add sleep in starting script

2012-12-22 Thread Fabien C.
Package: slapd Version: 2.4.31-1 Severity: normal Tags: patch Hello, I noticed that during bootup, when the /etc/init.d/slapd script returns, the LDAP server is not fully available. I noticed this because, right after, I have my DHCP server (isc-dhcp-server) starting, and the dhcp configuratio