[Pkg-openldap-devel] Bug#926657: openldap: slapd process failure is not detected by systemd

Heitor R. Alves de Siqueira halves at canonical.com
Mon Apr 8 18:54:12 BST 2019


Package: openldap
Severity: normal

Dear Maintainer,

The slapd package for OpenLDAP is shipped with a SysV-style init script
(/etc/init.d/slapd). Systemd automatically converts this to a systemd service
by generating the unit file using the systemd-sysv-generator(8) utility. The
generated unit file contains Type=forking and RemainAfterExit=yes directives.

If the slapd daemon process exits due to some failure (e.g., it receives a
SIGTERM or SIGKILL), the failure is not detected properly by systemd. The
service is still reported as active even though the child (daemon) process has
exited with a signal.



More information about the Pkg-openldap-devel mailing list