On Sun, Aug 08, 2010 at 10:32:20PM +0200, Matthijs Möhlmann wrote:

> > On Sun, Aug 08, 2010 at 05:24:05PM +0200, Matthijs Möhlmann wrote:
> >> Closing bug, running a second instance is not supported.

> > Supporting running a second instance is a separate question from allowing an
> > attempt to start a second instance to steal the pid file of the
> > already-running server.  This is a bug.

> I don't think that's entirely true. If you want a second instance of the
> LDAP server you need also a separate slapd.conf file. In the
> configuration the pidfile is defined. So if someone wants to setup a new
> instance then you need also a new configuration file.

Please reread the original report.  He didn't *want* two instances of the
LDAP server; he was just trying to debug the server, and in the process it
broke the init script's ability to find the process because he forgot to
stop the service first.

> Second: stealing a pidfile is not a failure on part of slapd but a
> configuration error.

No, it's a bug in the interaction of slapd and the (non-upstream) init
script.

If nothing else, it's also quite fixable with upstart, which may become the
default init system in Debian fairly soon; so unlike Russ, I don't think
this should be closed as "difficult to fix".

-- 
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/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: Digital signature

Reply via email to