Giter VIP home page Giter VIP logo

Comments (7)

salderma avatar salderma commented on September 26, 2024

Also it seems some times my systems have this in their puppet reports, and selinux is completely disabled...

(/Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure) created

Which is a nasty side effect.

from puppet-selinux.

mikalsande avatar mikalsande commented on September 26, 2024

I am facing the same problem. This module configures disables SELinux by default, setting SELINUX=disabled in /etc/selinux/config. Then after reboot SELinux will be disabled and puppet will fail with this error:

"Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 'undef' from left operand of 'in' expression is not a string at /etc/puppet/modules/selinux/manifests/module.pp:38 on node"

from puppet-selinux.

mikalsande avatar mikalsande commented on September 26, 2024

@salderma This problem seemes to be fixed in the 0.2.6 release.

Spoke too soon. This module will still not run when SELinux is disabled. puppet agent stops with the same error as above. My guess is that this error is is because the module does not handle SELinux being disabled.

from puppet-selinux.

salderma avatar salderma commented on September 26, 2024

@mikalsande you are correct. I guess I'm just going to break it down and hardcode the params.pp to enforcing like you suggested in another issue.

from puppet-selinux.

mikalsande avatar mikalsande commented on September 26, 2024

It seems there was a bug related to this #64

from puppet-selinux.

purplexa avatar purplexa commented on September 26, 2024

The problem here seems to be the use of $::selinux_config_policy, which doesn't exist. It's not clear to me what that code is supposed to do.

from puppet-selinux.

vinzent avatar vinzent commented on September 26, 2024

this should be addressd in the current version.

if you still see this problem, please re-open the issue.

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.