Bug #2439
closedrudder-inventory-ldap package: we don't need no more to specify version for BerkeleyDB on supported Debian-like OS
Description
Until now, we specified libdb versions to install on supported OS because of incompatibility between berkeleyDB 4.3 and the version of OpenLDAP we are using.
It seems that this no more needed for Debian or Ubuntu and we should use "libdb-dev" instead of "libdb4.6-dev | libdb4.7-dev | libdb4.8-dev"
Updated by Jonathan CLARKE over 12 years ago
- Subject changed from We don't need no more to specify version for BerkeleyDB on supported Debian-like OS to rudder-inventory-ldap package: we don't need no more to specify version for BerkeleyDB on supported Debian-like OS
- Status changed from New to In progress
- Assignee changed from Nicolas PERRON to Jonathan CLARKE
Updated by Jonathan CLARKE over 12 years ago
- Status changed from In progress to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:b6277b0cffbd98c18a06a12ca05c6e70642941d9.
Updated by Jonathan CLARKE over 12 years ago
- Status changed from Pending technical review to Discussion
- % Done changed from 100 to 50
Actually, this is not quite that simple. Ubuntu 11.10 and 12.04 contain both libdb4.8 and libdb5.1, so when we depend on libdb, they default to installing libdb5.1.
However, OpenLDAP 2.4.23 (the version we use) doesn't support version 5.x. Current versions (ie, 2.4.30) do.
So we have two options here:- Keep OpenLDAP 2.4.23 and revert to the previous dependencies
- Update OpenLDAP to 2.4.30
I'm in favour of the second option, because many many bugs have been fixed, and 2.4.23 is now almost two years old and it's a one line change for us. Our usage of OpenLDAP is simple, so we shouldn't hit any untested scenarios. However, this might be considered a bit close to release date for such a change, so before implemeting I'm asking a second opinion - what do you think about this?
Updated by Matthieu CERDA over 12 years ago
I'm always keen on testing new things, and we will have to update one day or another. It is probably the right time to do it when it fixes bugs in the process !
Plus, you are the most experienced OpenLDAP user/developer here so I trust your experience.
Updated by Nicolas CHARLES over 12 years ago
I guess it would be for the best, the number of bugfix is quite impressiv
However, it will requiere extensive tests
Updated by Nicolas PERRON over 12 years ago
I agree with Matthieu, we will have to update one day or another and this is good pretext to do so.
Updated by Jonathan CLARKE over 12 years ago
Thanks for your feedback. I'll do the update, see #2445.
Updated by Jonathan CLARKE over 12 years ago
- Status changed from Discussion to Pending technical review
The OpenLDAP upgrade has been done and fixed the compilation problems. This ticket can be reviewed.
Updated by Jonathan CLARKE over 12 years ago
- Status changed from Pending technical review to Released
Updated by Nicolas PERRON almost 12 years ago
- Project changed from Rudder to 34
- Category deleted (
11)
Updated by Benoît PECCATTE almost 10 years ago
- Project changed from 34 to Rudder
- Category set to Packaging