Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Done
-
None
-
Skeletor
-
3
-
Skeletor - 06/16./2021, Skeletor - 06/30/2021
-
Needs Priority
-
37959,44392
-
2
-
Bug Fix
-
-
Needs Assessment
Description
The wrapper script at /opt/puppetlabs/puppet/bin/wrapper.sh was created to work around issues like LD_LIBRARY_PATH causing Puppet services to load incompatible libraries. However, pxp-agent is hardcoded to use /opt/puppetlabs/puppet/bin/pxp-agent and therefore is still susceptible to these issues.
This can be reproduced on AIX with any version of pxp-agent.
LD_LIBRARY_PATH=/usr/lib /opt/puppetlabs/puppet/bin/pxp-agent --foreground --loglevel debug --log-pcp-access
|
exec(): 0509-036 Cannot load program /opt/puppetlabs/puppet/bin/pxp-agent because of the following errors: |
0509-150 Dependent module /usr/lib/libssl.a(libssl.so.1.1) could not be loaded. |
0509-152 Member libssl.so.1.1 is not found in archive |
|
The pxp-service should use the wrapper script, which modifies LD_LIBRARY_PATH