Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1907

Puppet apply error when selinux is disabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • PUP 3.3.1
    • None
    • None
    • /etc/redhat-release: Red Hat Enterprise Linux Server release 6.5 (Santiago)
      uname -a: Linux XXXX 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Dec 13 06:58:20 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

    • Night's Watch

    Description

      An error involving selinux is observed consistently with the above puppet version during puppet apply operations. The error output and the contents of /etc/sysconfig/selinux are below:

      [root@XXXX modules]# puppet apply motd/tests/init.pp
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Notice: Compiled catalog for plato-mgmt1.sandia.gov in environment production in 0.25 seconds
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Could not retrieve selinux: Invalid argument - /proc/self/attr/current
      Notice: Finished catalog run in 0.34 seconds

      ---

      1. This file controls the state of SELinux on the system.
      2. SELINUX= can take one of these three values:
      3. enforcing - SELinux security policy is enforced.
      4. permissive - SELinux prints warnings instead of enforcing.
      5. disabled - No SELinux policy is loaded.
        SELINUX=disabled
      6. SELINUXTYPE= can take one of these two values:
      7. targeted - Targeted processes are protected,
      8. mls - Multi Level Security protection.
        SELINUXTYPE=targeted

      Attachments

        Activity

          People

            Unassigned Unassigned
            beggio Chris Beggio
            Kurt Wall Kurt Wall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support