Giter VIP home page Giter VIP logo

Comments (8)

oranenj avatar oranenj commented on June 28, 2024 1

For now, downgrading to 6.10.1 seems to work

from puppet-selinux.

alexjfisher avatar alexjfisher commented on June 28, 2024 1

Fixed in recently released puppet 6.12.0

from puppet-selinux.

vangual avatar vangual commented on June 28, 2024

Encountered the same error yesterday but on EL7. Turned out the the ruby binary was missing the libselinux bindings, installing the libselinux-ruby package helped.

from puppet-selinux.

trungson avatar trungson commented on June 28, 2024

I installed libselinux-ruby but still same problem

ruby -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]

 rpm -qa|grep libselinux
libselinux-utils-2.8-6.el8.x86_64
python3-libselinux-2.8-6.el8.x86_64
libselinux-devel-2.8-6.el8.x86_64
libselinux-ruby-2.8-6.el8.x86_64
libselinux-2.8-6.el8.x86_64

rpm -qa|grep ruby
ruby-irb-2.5.3-104.module_el8.0.0+179+565e49e2.noarch
rubygems-2.7.6-104.module_el8.0.0+179+565e49e2.noarch
rubygem-openssl-2.1.2-104.module_el8.0.0+179+565e49e2.x86_64
ruby-libs-2.5.3-104.module_el8.0.0+179+565e49e2.x86_64
rubygem-did_you_mean-1.2.0-104.module_el8.0.0+179+565e49e2.noarch
rubygem-psych-3.0.2-104.module_el8.0.0+179+565e49e2.x86_64
libselinux-ruby-2.8-6.el8.x86_64
rubygem-io-console-0.4.6-104.module_el8.0.0+179+565e49e2.x86_64
rubygem-rdoc-6.0.1-104.module_el8.0.0+179+565e49e2.noarch
rubygem-json-2.1.0-104.module_el8.0.0+179+565e49e2.x86_64
rubygem-bigdecimal-1.3.4-104.module_el8.0.0+179+565e49e2.x86_64
ruby-2.5.3-104.module_el8.0.0+179+565e49e2.x86_64

from puppet-selinux.

pillarsdotnet avatar pillarsdotnet commented on June 28, 2024

I'm seeing the same problems. I deliberately avoid installing a system ruby, because Puppet comes with its own ruby. Unfortunately, it is not possible to install libselinux-ruby without also installing a system ruby, and I'm not convinced that Puppet's ruby will work with bindings for a different ruby.

Did puppet drop support for selinux?

from puppet-selinux.

oranenj avatar oranenj commented on June 28, 2024

Interesting (from a CentOS 8 system with 6.11.1):

# /opt/puppetlabs/puppet/bin/irb 
irb(main):001:0> require 'selinux'
Traceback (most recent call last):
        4: from /opt/puppetlabs/puppet/bin/irb:11:in `<main>'
        3: from (irb):1
        2: from /opt/puppetlabs/puppet/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        1: from /opt/puppetlabs/puppet/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
LoadError (/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.5.0/x86_64-linux/selinux.so: undefined symbol: rpm_execcon - /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.5.0/x86_64-linux/selinux.so

Seems like a bug in Puppet if you ask me.

6.9 worked fine.

from puppet-selinux.

oranenj avatar oranenj commented on June 28, 2024

I reported an upstream bug: https://tickets.puppetlabs.com/browse/PUP-10161

from puppet-selinux.

blackknight36 avatar blackknight36 commented on June 28, 2024

Confirmed that downgrading to 6.10.1 will fix this problem. Those affected by this can use the following command to downgrade.

dnf install puppet-agent-6.10.1

I'd also suggest versionlocking the package until a fix is released.

dnf versionlock puppet-agent

from puppet-selinux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.