[Pkg-openldap-devel] Bug#375067: Bug#375067: Running a second instance of slapd stops /etc/init.d/slapd stop from working
Steve Langasek
vorlon at debian.org
Sun Aug 8 21:39:55 UTC 2010
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/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20100808/1c835df4/attachment.pgp>
More information about the Pkg-openldap-devel
mailing list