[Pkg-puppet-devel] Bug#682417: facter - Regression: xen not longer detected

Bastian Blank waldi at debian.org
Sun Jul 22 14:54:06 UTC 2012

Package: facter
Version: 1.6.10-1
Severity: important

facter is not longer able to detect a system running on Xen. This is a
regression and will break setups that relies on this information.

/usr/lib/ruby/vendor_ruby/facter/virtual.rb tries to find files in
/proc/xen. This directory is not populated by default in modern Linux
kernels and is scheduled to go away pretty soon.

The real way to detect Xen is checking /sys/hypervisor/type for content


-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

More information about the Pkg-puppet-devel mailing list