[Pkg-openldap-devel] Bug#873682: slapd fails to stop if SLAPD_CONF is empty directory

Ryan Tandy ryan at nardis.ca
Wed Aug 30 04:37:14 UTC 2017


Package: slapd
Version: 2.4.21-1

Originally reported in Ubuntu: https://bugs.launchpad.net/bugs/1702290

If SLAPD_CONF exists and is a directory, but cn=config.ldif is not 
present inside it, slapd fails to stop. This can prevent the package 
from being removed/purged until the directory is deleted by hand.

Removing slapd (2.4.45+dfsg-1) ...
sed: can't read /etc/ldap/slapd.d/cn=config.ldif: No such file or directory
invoke-rc.d: initscript slapd, action "stop" failed.
dpkg: error processing package slapd (--remove):
 subprocess installed pre-removal script returned error exit status 2



More information about the Pkg-openldap-devel mailing list