Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-6092

puppetlabs-firewall : Produces warnings on CentOS 5.x

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • firewall
    • CentOS 5.x, puppetlabs-firewall 1.10.0

    • Hide

      The puppetlabs-firewall module successfully applies to CentOS/RHEL 5.x without warnings.

      Show
      The puppetlabs-firewall module successfully applies to CentOS/RHEL 5.x without warnings.
    • Manual Test
    • Needs Assessment

    Description

      Basic Info
      Module Version: 1.10.0
      Puppet Version: 4.10.9
      OS Name/Version: CentOS 5.11

      redhat.pp attempts to set the seluser for /etc/sysconfig/iptables and /etc/sysconfig/ip6tables to unconfined_u.

      Desired Behavior:

      seluser should be system_u.

      Actual Behavior:

      Warning: Failed to set SELinux context unconfined_u:object_r:etc_t on /etc/sysconfig/iptables
      Notice: /Stage[main]/Firewall::Linux::Redhat/File[/etc/sysconfig/iptables]/seluser: seluser changed 'system_u' to 'unconfined_u'
      Warning: Failed to set SELinux context unconfined_u:object_r:etc_t on /etc/sysconfig/ip6tables
      Notice: /Stage[main]/Firewall::Linux::Redhat/File[/etc/sysconfig/ip6tables]/seluser: seluser changed 'system_u' to 'unconfined_u'

      Attachments

        Activity

          People

            Unassigned Unassigned
            mihall-primus Michael Hall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support