You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By means of LD_DEBUG=libs, I observed that when launched by systemd (without the LD_LIBRARY_PATH workaround) this chain of events makes the system load the SUSE provided libcrypto
In the interactive case, the puppet provided libcrypto is loaded before the system one and it works.
With the LD_LIBRARY_PATH set, puppet provided libs are loaded in advance, then puppet run and afterwards there are errors of missing symbol (puppet provided libcrypto do not ship with the EVP_camellia_256_cbc symbol required by the system provided libk5crypto.so.3).
In my case, I just ignore this errors since they are limited to Puppet launches and do not seem to create real issues.
Have you checked if the system's OpenSSL library is overriding the one bundled with Puppet when starting the service? Specifically, verifying the output of ldd /opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux/openssl.so could help identify if the loaded library is the expected version. Additionally, consider checking the LD_LIBRARY_PATH in the context of systemd services to ensure that it's being set correctly, as environment variables can sometimes behave differently when running as a service compared to an interactive shell.
Since the error specifically mentions an undefined symbol for EC_GROUP_new_curve_GF2m at version OPENSSL_3.0.0, this suggests the system loader is resolving to an incompatible OpenSSL library version at runtime that lacks support for legacy curves. While LD_PRELOAD is a functional workaround, it is fragile if the bundled OpenSSL version changes during a future agent update. Could you check the output of readelf -d /opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux/openssl.so | grep -E 'RPATH|RUNPATH' to confirm if the expected path is truly missing or if it is being shadowed by system-wide library search order?
Since the undefined symbol: EC_GROUP_new_curve_GF2m error persists, it is likely that the bundled Ruby binary is resolving symbols against the system's OpenSSL 3.0.x libraries instead of the Puppet-provided ones at runtime. Have you checked the output of readelf -d /opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux/openssl.so | grep -E 'RPATH|RUNPATH' to confirm if the expected library search path is entirely absent from the binary's headers?
Activity
flaruina commentedon Aug 7, 2026
There is a conflict betweeen the openssl/libcrypto bundled with puppet and the one provided by SLES (which does not include the symbol):
By means of LD_DEBUG=libs, I observed that when launched by systemd (without the LD_LIBRARY_PATH workaround) this chain of events makes the system load the SUSE provided libcrypto
In the interactive case, the puppet provided libcrypto is loaded before the system one and it works.
With the LD_LIBRARY_PATH set, puppet provided libs are loaded in advance, then puppet run and afterwards there are errors of missing symbol (puppet provided libcrypto do not ship with the EVP_camellia_256_cbc symbol required by the system provided libk5crypto.so.3).
In my case, I just ignore this errors since they are limited to Puppet launches and do not seem to create real issues.
fragrantauto commentedon Aug 14, 2026
Have you checked if the system's OpenSSL library is overriding the one bundled with Puppet when starting the service? Specifically, verifying the output of
ldd /opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux/openssl.socould help identify if the loaded library is the expected version. Additionally, consider checking theLD_LIBRARY_PATHin the context of systemd services to ensure that it's being set correctly, as environment variables can sometimes behave differently when running as a service compared to an interactive shell.flaruina commentedon Aug 28, 2026
Thanks for all the suggestions. Forcing the puppet-provided
libcrypto.so.3to be loaded, the systemd unit works fine# cat /etc/systemd/system/puppet.service.d/override.conf [Service] Environment=LD_PRELOAD=/opt/puppetlabs/puppet/lib/libcrypto.so.3christianfrei791 commentedon Sep 5, 2026
The root cause looks like an missing or incorrect
RPATH/RUNPATHsetting in `openssl.socherryrodney26 commentedon Sep 11, 2026
so
loading systemlibcrypto` instead of puppet's bundled one in the first place?*
dayvenhppg2 commentedon Oct 5, 2026
Since the error specifically mentions an undefined symbol for
EC_GROUP_new_curve_GF2mat versionOPENSSL_3.0.0, this suggests the system loader is resolving to an incompatible OpenSSL library version at runtime that lacks support for legacy curves. WhileLD_PRELOADis a functional workaround, it is fragile if the bundled OpenSSL version changes during a future agent update. Could you check the output ofreadelf -d /opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux/openssl.so | grep -E 'RPATH|RUNPATH'to confirm if the expected path is truly missing or if it is being shadowed by system-wide library search order?tyshawnaamonte commentedon Oct 15, 2026
Since the
undefined symbol: EC_GROUP_new_curve_GF2merror persists, it is likely that the bundled Ruby binary is resolving symbols against the system's OpenSSL 3.0.x libraries instead of the Puppet-provided ones at runtime. Have you checked the output ofreadelf -d /opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux/openssl.so | grep -E 'RPATH|RUNPATH'to confirm if the expected library search path is entirely absent from the binary's headers?