slapd does not automatically restart on failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Slapd does not restart after a failure. Slapd package does not include
systemd unit file at all, only init.d script. Makes sense to make a
unitfile with a Restart=on-failure option.
$ lsb_release -rd
Description: Ubuntu 16.04.5 LTS
Release: 16.04
$ apt-cache policy slapd
slapd:
Installed: 2.4.42+
Candidate: 2.4.42+
Version table:
2.
500 http://
Packages
*** 2.4.42+
100 /var/lib/
2.
500 http://
Packages
2.
500 http://
affects ubuntu/openldap
Hello,
You can configure that yourself with a systemd drop-in file that
modifies the generated unit. A similar one was recently added to set
RemainOnExit=false; see bug 1821343.
I can't comment on whether it's appropriate to add that behaviour in the
package by default.