Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(MODULES-6092) Set correct seluser for CentOS/RHEL 5.x #737

Merged
merged 1 commit into from Dec 12, 2017

Commits on Nov 22, 2017

  1. (MODULES-6092) Set correct seluser for CentOS/RHEL 5.x

    In 1.10.0, applying the puppetlabs-firewall module on CentOS/RHEL 5.x produces warnings:
    
    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'
    
    This commit adds a case to set the correct seluser.
    mihall-primus committed Nov 22, 2017
    Copy the full SHA
    b678a8f View commit details
    Browse the repository at this point in the history