Sorry, that's not what I meant. The openldap upstream has nothing to do
with this. Their service file is:

$ cat ./servers/slapd/slapd.service
[Unit]
Description=OpenLDAP Server Daemon
After=syslog.target network-online.target
Documentation=man:slapd
Documentation=man:slapd-config
Documentation=man:slapd-mdb

[Service]
Type=notify
Environment="SLAPD_URLS=ldap:/// ldapi:///" "SLAPD_OPTIONS="
EnvironmentFile=/etc/sysconfig/slapd
ExecStart=%LIBEXECDIR%/slapd -d 0 -h ${SLAPD_URLS} $SLAPD_OPTIONS

[Install]
WantedBy=multi-user.target


The problem is the systemd replacement you are using, which looks like it's 
this guy: https://github.com/gdraheim/docker-systemctl-replacement/

It was question (a) in comment #3: "@Daniel, why are you a) using that
variant of systemd?"

And it looks like that variant does not support a binary without an
absolute path in ExecStart. That's the upstream bug I was asking about.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152633

Title:
  slapd.service won't restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/2152633/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to