Comments (8)
For now, downgrading to 6.10.1 seems to work
from puppet-selinux.
Fixed in recently released puppet 6.12.0
from puppet-selinux.
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.
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.
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.
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.
I reported an upstream bug: https://tickets.puppetlabs.com/browse/PUP-10161
from puppet-selinux.
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)
- RHEL8 HOT 4
- Just a heads-up - change in RHEL 7.7 HOT 12
- Missing CentOS 8 support HOT 8
- No autorelabel when enabling SELinux
- Unable to manage ports on RHEL/CentOS 8 HOT 2
- Facter 4 compatibilty HOT 11
- shouldn't selinux::fcontext do the necessary exec_restorecon ? HOT 2
- Selinux port ensure => absent do not work with port_range HOT 2
- Manage setroubleshootd/sealert? HOT 1
- missing semanage tools on el8 HOT 3
- The semanage_ports.py script needs to pick the correct version of python on a system with multiple installed HOT 7
- Error finding provider when using selinux_port HOT 1
- Add support for Puppet 7
- Add support for Fedora 33
- Resources that use 'semanage' should have an autorequires on the various packages
- Using selinux::fcontext::equivalence with hiera
- Drop Puppet 5 support; require 6.1. or newer HOT 1
- Drop EoL RHEL 6 support HOT 1
- Error: Could not prefetch selinux_fcontext provider 'semanage': uninitialized constant Selinux HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-selinux.