Issue #15049 has been updated by John Florian.
Wouldn't this fact be much simpler if it just examined the output of sestatus or getenforce? Seems like that would also help towards resolving issues like #11531. ---------------------------------------- Bug #15049: selinux fact returns wrong value https://projects.puppetlabs.com/issues/15049#change-65137 Author: John Florian Status: Needs More Information Priority: Normal Assignee: Category: library Target version: Keywords: Branch: Affected Facter version: 1.6.6 On a fresh Fedora 17 host: <pre> $ sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 26 $ facter selinux false $ rpm -q puppet facter ruby puppet-2.7.13-1.fc17.noarch facter-1.6.6-1.fc17.x86_64 ruby-1.9.3.194-11.fc17.x86_64 </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
