[Pkg-openldap-devel] Bug#770827: slapd: can't reconfigure dumping

Ferenc Wagner wferi at niif.hu
Tue Dec 2 18:45:26 UTC 2014


Ryan Tandy <ryan at nardis.ca> writes:

> On Tue, Dec 02, 2014 at 11:27:47AM +0100, Ferenc Wagner wrote:
>
>> Now, do you plan to do anything about these for jessie?  As I understand
>> it, anybody running a partial replica will necessarily hit this during
>> the wheezy -> jessie upgrade.  But we've still got a couple of days to
>> get an unblock for these fixes...
>
> Just to be clear, we're talking about (at least) three separate bugs:
>
> #614569 - fails to reload a partial replica
> #770827 - dpkg-reconfigure doesn't ask the dumping question
> #771823 - attempts database reload even with dumping set to 'never'

Precisely.  Thanks for setting this up!

> #770827 I think is clearly not RC.

Well, you can work around it by debconf-set-selections I guess...  If
#771823 didn't spoil it, this could be the recommended workaround for
upgrades of partial MDB replicas.

> #614569 would have been good to fix for jessie, but I personally have
> basically no time available at the moment. I can't provide a
> well-tested fix before the 5th, sorry.

I'm inclined to simply add that -s option.  If the database was schema-
correct, it will stay so, and it it wasn't, then upgrade isn't the best
time to point that out.  There isn't much to test on such a change.  To
do any better, you'd need separate dumping decisions on each configured
database, which would be nice (ATM only BDB and HDB need this, after
all) but that may be too much for a last-minute change.  I'm willing to
work on this if we can agree on the direction.  I'll have to upgrade my
servers somehow, doing it offically can't hurt...

> Other facts about #614569 are that it has been around for two upgrade
> cycles already, and that it can be worked around by editing the
> postinst to add -s to the slapadd invocation and running 'dpkg
> --configure -a' to retry the upgrade.

That's what I did.  Not exactly the expected Debian upgrade
experience. :(

> Unless someone else wants to prepare and upload a fix in the next
> couple of days, I'll fix it in unstable later and then propose it for
> a point release of jessie. I'm also monitoring some lmdb issues being
> worked on upstream, in case some of the patches turn out to be
> suitable for a point release.

That's good to hear.

> I doubt this was the answer you hoped for; sorry for that.

Sure it was, really!  Unfortunately, I can't upload, so a sponsor would
be needed to conclude this.  Also, do you think some pre-agreement from
the release team would be needed before the upload?
-- 
Thanks,
Feri.



More information about the Pkg-openldap-devel mailing list