Issue #15049 has been updated by Dominic Cleal. Status changed from Needs More Information to In Topic Branch Pending Review Assignee set to Dominic Cleal Target version set to 1.6.10 Branch set to https://github.com/puppetlabs/facter/pull/247
You're right Brian, this came about with Ruby 1.9. #8964 incorrectly caused a one element array to be returned from selinux_mount_point, which under 1.8 would just interpolate the single element into the string. In 1.9, the square brackets appear too. Pull request 247 submitted, including some tests for the original #8964 change. Incidentally, this fixes #11531 too. ---------------------------------------- Bug #15049: selinux fact returns wrong value https://projects.puppetlabs.com/issues/15049#change-65916 Author: John Florian Status: In Topic Branch Pending Review Priority: Normal Assignee: Dominic Cleal Category: library Target version: 1.6.10 Keywords: Branch: https://github.com/puppetlabs/facter/pull/247 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.
