[Pkg-openldap-devel] Bug#742862: Bug#742862: upgrade to 2.4.39-1 breaks slapd

Ryan Tandy ryan at nardis.ca
Tue Apr 1 06:27:03 UTC 2014


On 31/03/14 11:18 PM, Erwan David wrote:
> I checked : both libdb5.1 and libdb5.3 are installed.

Right, but openldap 2.4.31 was linked against db5.1 and openldap 2.4.39
is linked against db5.3; and the database files each version creates in
/var/lib/ldap are not compatible.

> I get /etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif:olcSuffix: dc=rail,dc=eu,dc=org

That's the expected output, thanks.

> I don't remember ever editing it, by hand. However, it was on another
> server, And I just reinstalled /etc/ldap and /var/lib/ldap from this
> other server at migration time.

That's fine.

> Note also that /etc/ldap and /var/lib/ldap both are symbolic links to
> respectively /secure/etc/ldap and /secure/var/lib/ldap,/secure being
> an encrypted disk used to store confidential infos.

This is certainly interesting. The scripts take into account the
possibility of /var/lib/ldap being a mountpoint, but maybe not a
symlink. I'll do some testing in a similar setup and get back to you.

Thanks for your patience and testing as we work this out.



More information about the Pkg-openldap-devel mailing list