Bug 836313
| Summary: | Detects SELinux as being disabled/false | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dominic Cleal <dcleal> | ||||
| Component: | facter | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 17 | CC: | jeckersb, rrati, tmz, vanmeeuwen+fedora | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-03-29 01:21:56 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 595089 [details] Fix SELinux path detection, submitted for #15049 Attached is the patch I've sent upstream for 1.6.x to fix detection of the selinuxfs path under Ruby 1.9. http://projects.puppetlabs.com/issues/15049 https://github.com/puppetlabs/facter/pull/247 I'm hitting this as well. Looks good in upstream 1.6.11 (thanks to Dominic!), any chance we could get 1.6.11 in F17? 1.6.11 had a regression that caused puppet to hang¹. This is reportedly now fixed in 1.6.12, which was released yesterday. I'll look at getting that into the repos if no one reports show-stopper issues in the next few days. ¹ https://projects.puppetlabs.com/issues/10418 facter-1.6.18-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/facter-1.6.18-1.fc17 facter-1.6.18-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/facter-1.6.18-1.fc18 facter-1.6.18-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/facter-1.6.18-1.el6 facter-1.6.18-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/facter-1.6.18-1.el5 Package facter-1.6.18-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing facter-1.6.18-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-0708/facter-1.6.18-1.el6 then log in and leave karma (feedback). facter-1.6.18-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. facter-1.6.18-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. facter-1.6.18-2.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/facter-1.6.18-2.el5 facter-1.6.18-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/facter-1.6.18-2.el6 facter-1.6.18-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/facter-1.6.18-3.el6 facter-1.6.18-3.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/facter-1.6.18-3.el5 facter-1.6.18-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. facter-1.6.18-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Facter incorrectly detects SELinux as being disabled ("selinux => false"). This is due to a bug under Ruby 1.9. Version-Release number of selected component (if applicable): facter-1.6.6-1.fc17.x86_64 How reproducible: Always. Steps to Reproduce: 1. Enable SELinux 2. Run: facter selinux Actual results: false Expected results: true Additional info: Filed upstream as http://projects.puppetlabs.com/issues/15049