[Pkg-openldap-devel] Package status

Quanah Gibson-Mount quanah at zimbra.com
Mon Jun 4 16:59:32 UTC 2007



--On June 4, 2007 9:46:03 AM -0700 Russ Allbery <rra at debian.org> wrote:
>
> Right, the problem in this case is that the init script isn't particularly
> robust against a common user error, namely:
>
> * slapd is actually still running, but the user doesn't think of that.
> * User wants to debug slapd, so runs slapd -d 1.
> * It fails because slapd is already running, user goes "doh."
> * User runs /etc/init.d/slapd stop.
> * /etc/init.d/slapd stop fails because the PID file has been overwritten.
>
> Or at least that's what's reported in the bug.  I haven't tried it
> personally.
>
> I'm not really sure what to do about it, and I agree that it's user error,
> but it would be nice if we could be more robust against that sort of
> error.  Particularly given that when this happens, /etc/init.d/slapd stop
> just silently succeeds without actually stopping anything.

Hm, I wonder if slapd should be holding off just slightly longer in 
creating the PID file, so that it won't blow the old one away in a case 
like that. :/  But yeah, definitely a hard one to deal with.

--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