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
"xen".

Bastian

-- 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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to