[Pkg-openldap-devel] Bug#593550: Bug#593550: Bug#593550: A fix
rra at debian.org
Thu Aug 19 21:19:16 UTC 2010
Quanah Gibson-Mount <quanah at zimbra.com> writes:
> Michael Rasmussen <mir at datanom.net> wrote:
>> Quanah Gibson-Mount <quanah at zimbra.com> wrote:
>>> What version was being migrated from (i.e., what version of BDB was
>>> openldap linked against?). If it was prior to BDB 4.8, then you have
>>> to do a slapcat/slapadd of the database (I assume that's already being
>>> done), but before that, it is critical to completely checkpoint the
>>> database via db_recover (one of the steps taken above).
>> I think this is the key question. Apparently the db-tools cannot handle
>> a migration from <= 4.7 to 4.8 in which case the only reliable way to
>> do this is slapcat/slapadd.
> Correct, it is never possible to use db-tools to upgrade OpenLDAP
> Databases across BDB versions. The only method is slapcat/slapadd.
Right, and the package already has all the logic to do that already. I
think the only problem here is that it didn't trigger when it should have
for your installation. Maybe the version number for the check for when to
do this isn't quite right?
> I'd also note that BDB 4.8 versions prior to 4.8.30 are not reliable and
> should be avoided (Not sure what's in debian atm).
4.8.30 is in unstable and will migrate to testing as soon as we figure out
what's going on with the mips and sparc builds.
Russ Allbery (rra at debian.org) <http://www.eyrie.org/~eagle/>
More information about the Pkg-openldap-devel