Project

General

Profile

Actions

Bug #6224

closed

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

Fix LD_LIBRARY_PATH during rudder-inventory-ldap compilation on Debian

Added by Matthieu CERDA over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
1
Category:
System integration
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

On Debian, we build slapd using these environment variables:

LD_LIBRARY_PATH="/opt/rudder/lib" 

This is wrong, /opt/rudder/lib at compile time contains no libdb... it makes the OpenLDAP ./configure BDB header/lib version match check fail (not beeing able to find libdb-5.1.so

It should be:

LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/opt/rudder/lib" 

Actions #1

Updated by Matthieu CERDA over 6 years ago

  • Parent task changed from #6215 to #5741
Actions #2

Updated by Matthieu CERDA over 6 years ago

  • Description updated (diff)
Actions #3

Updated by Matthieu CERDA over 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/613
Actions #4

Updated by Matthieu CERDA over 6 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:5adf9065004db23c155708ffa5f5c98e32d8fab1.

Actions #5

Updated by Matthieu CERDA over 6 years ago

Applied in changeset packages:rudder-packages|commit:dfe61327ea04c82745f6160901f3ef9dbec2e6f1.

Actions #6

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 2.10.10 to 2.10.9
Actions #7

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 2.10.9 to 2.10.10
Actions #8

Updated by Vincent MEMBRÉ over 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.

Actions

Also available in: Atom PDF