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

Jonas Genannt jonas.genannt at capi2name.de
Sun Jul 22 16:36:58 UTC 2012


Hello,

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

I think that commit from upstream should fix the problem in wheezy:

https://github.com/puppetlabs/facter/commit/976b7af24d641e589121d30e37bacc983d79cc0a

Greets,
	Jonas



More information about the Pkg-puppet-devel mailing list