Bug 836313 - Detects SELinux as being disabled/false
Summary: Detects SELinux as being disabled/false
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: facter
Version: 17
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-28 16:42 UTC by Dominic Cleal
Modified: 2013-04-19 17:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-29 01:21:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fix SELinux path detection, submitted for #15049 (4.05 KB, patch)
2012-06-28 16:44 UTC, Dominic Cleal
no flags Details | Diff

Description Dominic Cleal 2012-06-28 16:42:21 UTC
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

Comment 1 Dominic Cleal 2012-06-28 16:44:22 UTC
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

Comment 2 John Eckersberg 2012-09-11 19:02:58 UTC
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?

Comment 3 Todd Zullinger 2012-09-11 19:38:42 UTC
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

Comment 4 Fedora Update System 2013-03-19 17:04:24 UTC
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

Comment 5 Fedora Update System 2013-03-19 17:05:06 UTC
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

Comment 6 Fedora Update System 2013-03-19 17:05:57 UTC
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

Comment 7 Fedora Update System 2013-03-19 17:06:35 UTC
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

Comment 8 Fedora Update System 2013-03-19 21:26:26 UTC
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).

Comment 9 Fedora Update System 2013-03-29 01:21:58 UTC
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.

Comment 10 Fedora Update System 2013-03-29 01:22:44 UTC
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.

Comment 11 Fedora Update System 2013-04-03 14:26:35 UTC
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

Comment 12 Fedora Update System 2013-04-03 14:27:20 UTC
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

Comment 13 Fedora Update System 2013-04-03 23:24:03 UTC
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

Comment 14 Fedora Update System 2013-04-03 23:25:31 UTC
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

Comment 15 Fedora Update System 2013-04-19 17:01:27 UTC
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.

Comment 16 Fedora Update System 2013-04-19 17:05:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.