[Pkg-openldap-devel] Bug#888440: Bug#888440: "dpkg-reconfigure slapd" fails if backup directory already exists

Ryan Tandy ryan at nardis.ca
Thu Jan 25 16:54:46 UTC 2018


Control: forcemerge 757550 -1

Hello Floris,

Thank you for the report. I'm merging it with an existing ticket that 
tracks the same issue.

On Thu, Jan 25, 2018 at 05:05:27PM +0100, Floris Bos wrote:
>I am not seeing any easy option to prevent this from happening.

Removing the existing backup first isn't easy enough?

>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.

Oh, really? If I understand you correctly, that sounds like a second bug 
- not respecting destdir for that location?

>Nor an option to simply not move the thing, but delete it. We already 
>have a dump of it, right?

Not sure. We have a dump of the config, but I don't think it dumps the 
data, does it? I'm ok with moving stuff around but highly hesitant to 
actually delete... That should be the admin's choice. I would never 
want to be responsible for data loss.

thanks,
Ryan



More information about the Pkg-openldap-devel mailing list