Package: slapd
Version: 2.4.44+dfsg-5+deb9u1

Hi,

Currently "dpkg-reconfigure slapd" wants to move the old database directory to /var/backups However this fails if there already exists such a directory in /var/backups from a previous run.

==
# DEBIAN_FRONTEND=noninteractive dpkg-reconfigure slapd
  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.44+dfsg-5+deb9u1... done.
  Moving old database directory to /var/backups:

  Backup path /var/backups/unknown-2.4.44+dfsg-5+deb9u1.ldapdb exists. Giving up...
==

I am not seeing any easy option to prevent this from happening.
There is a preseed option (slapd/dump_database_destdir) to change the backup directory the database dump goes to, but that doesn't seem to affect the directory the old folder is moved to. Nor an option to simply not move the thing, but delete it. We already have a dump of it, right?


Yours sincerely,

Floris Bos

Reply via email to