[Pkg-puppet-devel] Bug#761181: facter selinux returns false, but SELinux is enforcing

Bart-Jan Vrielink bartjan at vrielink.net
Thu Sep 11 13:21:21 UTC 2014


Package: facter
Version: 1.6.10-1
Severity: normal

Dear Maintainer,

When I run 'facter selinux' it returns false. This despite the fact that I'm
pretty certain that SELinux is enabled, and in Enforcing mode.

I do not know much about ruby, but I think it is failing in ruby1.9. The
following happens in ruby 1.8:
print ("#{selinux_mount_point}/enforce")
/sys/fs/selinux/enforce
But in ruby 1.9:
print ("#{selinux_mount_point}/enforce")
["/sys/fs/selinux"]/enforce

Please make sure facter works properly with /usr/bin/ruby, or explicitly
specify a version.

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (990, 'stable'), (900, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages facter depends on:
ii  bind9-host [host]             1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  host                          1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  net-tools                     1.60-24.2
ii  ruby                          1:1.9.3
ii  ruby-json                     1.7.3-3
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-7.1+deb7u1
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-8.1+deb7u2

Versions of packages facter recommends:
ii  dmidecode  2.11-9
ii  pciutils   1:3.1.9-6

facter suggests no packages.

-- no debconf information



More information about the Pkg-puppet-devel mailing list