[Pkg-openldap-devel] Bug#665199: slapd: fails to install, remove, distupgrade, and install again

Ryan Tandy ryan at nardis.ca
Sun Apr 9 16:08:56 UTC 2017


Hi Ivo,

Thanks for checking the patches.

On Sun, Apr 09, 2017 at 12:14:37PM +0200, Ivo De Decker wrote:
>What happens on remove if the slapcat fails? There are 2 options:
>
>- don't ignore errors
>
>This causes errors on removal when the ldap config is broken. There should be
>a way to remove a broken installation.

Good point. The slapcat for content databases is written to catch errors 
and present them as a debconf error - I should use that for the config 
dump as well.

The easiest way to simply get rid of a broken install (and I should 
document this somewhere) is just to rm -rf /etc/ldap/slapd.d before 
remove, then nothing will be dumped or backed up.



More information about the Pkg-openldap-devel mailing list