Bug#877512: slapd: enabled systemd integration (untested patch)

Ryan Tandy ryan at nardis.ca
Wed Jun 28 17:49:06 BST 2023


On Wed, Jun 28, 2023 at 06:29:31PM +0200, Andreas Henriksson wrote:
>I'm attaching a patch which has only been compile-tested as I don't
>use slapd myself. It would be great if someone who uses slapd could
>pick it up, test it and finish the remaining work.

Thanks for the patch and for doing the compile-testing. Unfortunately 
upstream's service file won't work for us as is. The remaining work 
includes (and this is the part I've been procrastinating) extracting 
from the init script the parts that determine the arguments to slapd 
(based on config from /etc/default/slapd, and I think in some cases 
possibly from the slapd config too), and turning that into a slapd 
launcher script that the service will have to invoke.

>TODO: For unknown reason configure seems to want to use
>/usr/lib/systemd/system (rather than /lib/systemd/system) despite the
>precense of systemd.pc ... the configure script has hard-coded fallback
>paths...

Thanks for noting this, definitely sounds like something we need to look 
into.

thanks,
Ryan



More information about the Pkg-openldap-devel mailing list