Project

General

Profile

Actions

Bug #6204

closed

Bug #5741: Upgrading rudder-inventory-ldap between two major OS versions makes slapd unable to operate because of BerkeleyDB (backport)

Debian builds fails due to a BDB bundling optimization

Added by Matthieu CERDA almost 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

We used to have on 3.0:

export LD_LIBRARY_PATH="/opt/rudder/lib" ; CPPFLAGS="-I/opt/rudder/include" ; export LDFLAGS="-L/opt/rudder/lib" ; export LIBS="-L/opt/rudder/lib" ; cd 
SOURCES/openldap-source && ./configure --prefix=/opt/rudder --libdir=/opt/rudder/lib/ldap --enable-dynamic --enable-debug --enable-modules --enable-hdb=mod 
--enable-monitor=mod --enable-dynlist=mod --with-cyrus-sasl

We tried to remove the exports and use this instead:

cd SOURCES/openldap-source && LD_LIBRARY_PATH="/opt/rudder/lib" CPPFLAGS="-I/opt/rudder/include" LDFLAGS="-L/opt/rudder/lib" LIBS="-L/opt/rudder/lib" ./configure 
--prefix=/opt/rudder --libdir=/opt/rudder/lib/ldap --enable-dynamic --enable-debug --enable-modules --enable-hdb=mod --enable-monitor=mod --enable-dynlist=mod 
--with-cyrus-sasl

But the configure fails, not finding BDB :(

Time to be a little more intelligent by specifying where you can find the BDB headers.

Actions #1

Updated by Matthieu CERDA almost 10 years ago

  • Project changed from Rudder to 34
  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/607
Actions #2

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset rudder-packages|commit:a1d631ff31335338bbda67240980ecba5a46ea46.

Actions #3

Updated by Matthieu CERDA almost 10 years ago

Applied in changeset rudder-packages|commit:a5cf157ee4589dc783480c0245191fbbd692d6d6.

Actions #4

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending release to In progress
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • % Done changed from 100 to 0

Hmmm, nope, it's not enough ! :(

Let's try again.

Actions #5

Updated by Vincent MEMBRÉ almost 10 years ago

  • Project changed from 34 to Rudder
  • Category set to System integration
  • Parent task set to #5741
Actions #6

Updated by Matthieu CERDA almost 10 years ago

  • Description updated (diff)
  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Nicolas CHARLES
  • % Done changed from 0 to 100
  • Pull Request changed from https://github.com/Normation/rudder-packages/pull/607 to https://github.com/Normation/rudder-packages/pull/609
Actions #7

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:1cb49ca368af3c11f736284093689adc4421658a.

Actions #8

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.0, which was released on 2015/02/16

Actions #9

Updated by Benoît PECCATTE about 9 years ago

  • Target version changed from 3.0.0 to 2.10.20
Actions #10

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.20 to 2.10.10

It was fixed in 2.10.10 (and 2.11.7)

Actions

Also available in: Atom PDF