[Pkg-openldap-devel] Bug#375067: Bug#375067: Running a second instance of slapd stops /etc/init.d/slapd stop from working

Matthijs Möhlmann matthijs at cacholong.nl
Sun Aug 8 20:32:20 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/08/2010 08:28 PM, Steve Langasek wrote:
> reopen 375067
> thanks
> 
> 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.

And if the user then defines the same pidfile that would be an user
configuration error or am I wrong here?

So first of all, running a second instance is in my opinion no problem
at all.

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

Regards,

Matthijs Mohlmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxfFFQACgkQ2n1ROIkXqbDHXQCdGE0vzfCd/pfDa/7xoRcrvDaw
VSAAn365PJ3tgZfBaQLQByJOj4PLetP0
=dVh5
-----END PGP SIGNATURE-----





More information about the Pkg-openldap-devel mailing list