[Pkg-openldap-devel] Bug#888440: "dpkg-reconfigure slapd" fails if backup directory already exists
Floris Bos
bos at je-eigen-domein.nl
Thu Jan 25 16:05:27 UTC 2018
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
More information about the Pkg-openldap-devel
mailing list