Control: tags -1 confirmed

On Mon, Nov 24, 2014 at 02:11:19PM +0100, Ferenc Wágner wrote:
I wanted to manually set dumping to "never" before upgrading, because restoring
the dump breaks on partial replicas (#614569).  However, dpkg-reconfigure slapd
only asks if I want to "omit OpenLDAP server configuration", which I want, 
because
the replication config is hand made.  Thus I don't get to reconfigure dumping,
even though it has nothing to do with the server configuration itself.

If I'm reading correctly, the value of that choice isn't actually important here: the problem is that the question about configuring dumping is only presented on upgrade, not when (re)configuring a new or existing installation.

http://anonscm.debian.org/cgit/pkg-openldap/openldap.git/tree/debian/slapd.config#n174

IMO, the dumping questions could be asked outside of that guard, even on initial installation (and certainly on reconfiguration), with a low priority.

Trying to upgrade with DEBIAN_PRIORITY=medium does not work either due to 
another
problem: I can switch off dumping then, and dumping is skipped all right, but 
the
reload is attempted regardless and fails not finding the dump.

That's a bug, for sure. dump_databases() exits early if dumping is disabled, but the symmetric check in load_databases() is missing. That doesn't make a lot of sense. :)

Attachment: signature.asc
Description: Digital signature

Reply via email to