Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318745 - OpenLDAP 2.4.21 uses wrong BerkDB version
Summary: OpenLDAP 2.4.21 uses wrong BerkDB version
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 12:36 UTC by Cybertinus
Modified: 2010-05-07 13:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cybertinus 2010-05-06 12:36:30 UTC
OpenLDAP 2.4.21 uses the wrong Berkeley DB version, causing it to fail when starting slapd. This is the error that is put in /var/log/messages

May  6 13:40:33 CYBERTINUS slapd[24095]: bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 4.8.26: (2010-03-15), got Berkeley DB 4.8.30: (2010-05-06)


Reproducible: Always

Steps to Reproduce:
1. Install the unstable OpenLDAP 2.4.21 package
2. Start slapd (/etc/init.d/slapd start)

Actual Results:  
slapd fails to start with the following error message in /var/log/messages:
May  6 13:40:33 CYBERTINUS slapd[24095]: bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 4.8.26: (2010-03-15), got Berkeley DB 4.8.30: (2010-05-06)

Expected Results:  
slapd should started without problems

The previous release (2.4.19-r1) works without problems, so a good workarround is masking =net-nds/openldap-2.4.21 for the time being.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-05-06 17:52:58 UTC
Similar problem in Archlinux: http://bugs.archlinux.org/task/17983

It was solved by openldap 2.4.21 rebuild, so looks like you just need to rebuild openldap against db-4.8.30...
Comment 2 Cybertinus 2010-05-07 13:16:38 UTC
Ah yes. Indeed. After a rebuild of the openldap package the problem is gone. I installed openldap, and didn't do anything with it. A day later (after I updated my computer) I started doing stuff with openldap again, so I didn't noticed the system-libs/db upgrade I did and made no connection to that update when I saw this error in openldap.
I also didn't know that the package sys-libs/db is Berkely DB.
And I thought that the Berkeley DB driver was something that was included in OpenLDAP. A bit like the SQLite library. Guess I was wrong there to :).

I've set the bugstatus to invalid myself now, because it obviously is :). Sry to waste everybody's time.