Solving "SELinux bindings not found"

asked 2018-07-23 18:44:18 -0600

Spindizzy gravatar image

updated 2018-07-26 18:54:46 -0600

I've recently rebuilt some servers using RedHat 7.5, and reinstalled Puppet Enterprise 2018..1.2. Now, for some reason, I'm getting the following error message:

Debug: /Stage[main]/Gcssj::Configuration::Files/File[/var/gcssj]/seltype: SELinux bindings not found. Ignoring parameter.

I've already tried installing the available libselinux-ruby package, rebooting the servers, and I'm still getting the message.

I'm sure there's something stupid/simple that I'm missing, but hanged if I can tell what it is.

Update [2018/07/24]: Working with PuppetLabs, it turns out that selinux works fine on the puppet server, but not on the agent. Both systems have the same versions installed, including all the necessary packages (so far).

Update [2018/07/26]: https://tickets.puppetlabs.com/browse... The current situation is that 2017.3.8 does not have this issue, but 2018.1.0 and 2018.1.2 both do. If you're running on the puppet server, everything appears to work fine. On a puppet agent, any 'file' resource that needs 'seltype' is going to fail. Waiting for further response from PuppetLabs.

edit retag flag offensive close merge delete