Skip to content

Failure with puppet.service systemd unit #9573

Description

@flaruina

Describe the Bug

If I try to start puppet.service on a SLES15.6 server I get an error reguarding openssl.

/opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux/openssl.so: undefined symbol: EC_GROUP_new_curve_GF2m, version OPENSSL_3.0.0 - /opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux/openssl.so

Puppet agent works as expected if launched interactively.
As a workaround, setting LD_LIBRARY_PATH seems to fix the issue

# cat /etc/systemd/system/puppet.service.d/override.conf 
[Service]
Environment=LD_LIBRARY_PATH=/opt/puppetlabs/puppet/lib/ruby/3.2.0/x86_64-linux:/opt/puppetlabs/puppet/lib

Expected Behavior

Since puppet agent works if launched interactively I would expect the unit to start correctly.

Steps to Reproduce

Steps to reproduce the behavior:

  1. systemctl start puppet.service
  2. systemctl status puppet.service

Environment

  • Version puppet-agent-8.10.0-1.sles15.x86_64
  • Platform SLES 15.6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions