Project

General

Profile

Actions

Bug #5321

closed

On AIX, LIBPATH env variable may prevent the rudder-agent to run

Added by Nicolas CHARLES over 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
N/A
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

sometimes, libs can interfer with the agent execution, so we'd need to ignore, or empty the LIBPATH env variable when running the agent

(or if you have a better idea, that would be awesome)

Actions #1

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.10.4 to 2.6.18
Actions #2

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.6.18 to 2.10.5
Actions #3

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.10.5 to 2.10.6
Actions #4

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 2.10.6 to 2.10.7
Actions #5

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.10.7 to 2.10.8
Actions #6

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.8 to 2.10.9
Actions #7

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.9 to 2.10.10
Actions #8

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.10 to 2.10.11
Actions #9

Updated by Nicolas CHARLES almost 10 years ago

  • Status changed from New to 8
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE

Some more details

(root)/var/rudder/cfengine-community/bin

# ./cf-agent -KI failsafe.cf

Could not load program ./cf-agent:

        Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.

        Member libcrypto.so.1.0.1 is not found in archive

This librairy is installed

# find / -type f -name "libcrypto*" 
/opt/freeware/lib/libcrypto.a
/opt/freeware/lib/libcrypto.so.0.9.7
/opt/freeware/lib/libcrypto.so.0.9.8
/opt/freeware/lib/libcrypto.so.1.0.0
/opt/freeware/lib/libcrypto.so.1.0.1
/opt/freeware/lib64/libcrypto.so.0.9.7
/opt/freeware/lib64/libcrypto.so.0.9.8
/opt/freeware/lib64/libcrypto.so.1.0.0
/opt/freeware/lib64/libcrypto.so.1.0.1
/usr/lib/libcrypto.a
/usr/edited/Lib/libcrypto.a

Changing the LIBPATH solves the issue

export LIBPATH=/opt/freeware/lib:/usr/lib
# ./cf-agent -KI failsafe.cf 

Actions #10

Updated by Benoît PECCATTE over 9 years ago

LIBPATH has priority over regular library path searching.
This behaviour is what is expected when there is a preexisting LIBPATH.

Actions #11

Updated by Benoît PECCATTE over 9 years ago

  • Status changed from 8 to Rejected

Rejecting because we have no power on the user setting LIBPATH and LIBPATH has full priority over anything that we could do.

Actions

Also available in: Atom PDF