Bug 1019613 - openldap does not work after libdb rebase
Summary: openldap does not work after libdb rebase
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matus Honek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 07:23 UTC by Jan Synacek
Modified: 2016-07-19 10:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 10:29:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 743824 0 unspecified CLOSED openldap does not work after libdb rebase 2021-02-22 00:41:40 UTC

Internal Links: 743824

Description Jan Synacek 2013-10-16 07:23:23 UTC
Description of problem:
There is a long standing issue with openldap and libdb rebases. The openldap code checks the exact libdb version and fails if it doesn't equal to the version that the server was linked against.

It should be enough to check only major and minor version numbers. The patch level shouldn't be necessary to check.


Version-Release number of selected component (if applicable):
openldap-2.4.36-2.fc21.x86_64


Steps to Reproduce:
1. Link openldap against one version of BDB
2. Install another version of BDB that differs in version in any way
3. Run slapd


Actual results:
slapd fails with a message like this:

"bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 5.3.21: (May 11, 2012), got Berkeley DB 5.3.28: (September  9, 2013)"


Expected results:
slapd runs as expected when libdb versions differ only in the patch level.

Comment 1 Jan Synacek 2013-10-16 07:31:59 UTC
Upstream discussion:
http://www.openldap.org/lists/openldap-technical/201310/msg00142.html

Comment 2 Jan Synacek 2013-10-17 06:32:38 UTC
Apparently, the patch level check *is* necessary, because libdb doesn't use the same versioning as other system libraries do and can change APIs between patch levels.

Comment 3 Jaroslav Reznik 2015-03-03 16:56:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 4 Fedora Admin XMLRPC Client 2015-04-29 10:50:24 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora End Of Life 2016-07-19 10:29:26 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.