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

Ryan Tandy ryan at nardis.ca
Thu Jun 29 22:45:26 BST 2023


On Wed, Jun 28, 2023 at 01:03:33PM -0700, Ryan Tandy wrote:
>SLAPD_CONF is also used (at least) by anyone who still uses a 
>slapd.conf file instead of cn=config. Using -f or -F depending on what 
>SLAPD_CONF points to was the main reason I assumed we'd need a wrapper 
>script. But that could also be replaced by a drop-in.

I remembered later that the maintainer scripts also need to know the 
location of the config, for upgrades. Currently they get it by reading 
SLAPD_CONF from /etc/default/slapd. Not sure whether it would be 
feasible to parse that out from the slapd command line in a systemd 
unit. Probably not in the general case... (but of course a determined 
person can find ways to break the current setup as well.)



More information about the Pkg-openldap-devel mailing list