Issue #18429 has been updated by Marc Fournier.

I confirm this problem still shows up in 1.7. The problem is that ruby 
File.read doesn't play well with broken files in /proc.

I'd like to suggest that the problem on the facter side, is that the 
conclusions drawn in #4466 have not been applied in selinux.rb.

If we find a way to properly discard STDERR here (as mentioned in #4466. #10909 
also has hints), the warning will go away.

----------------------------------------
Bug #18429: SELinux off - Could not retrieve selinux: Invalid argument
https://projects.puppetlabs.com/issues/18429#change-90868

* Author: Jonas Genannt
* Status: Needs More Information
* Priority: Normal
* Assignee: Jonas Genannt
* Category: 
* Target version: 
* Keywords: selinux
* Branch: 
* Affected Facter version: 1.6.14
----------------------------------------
if you switch off selinux on Linux with `echo 0 > /selinux/enforce` and run 
facter selinux:

facter selinux
Could not retrieve selinux: Invalid argument - /proc/self/attr/current



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to