[Bug 980291] [NEW] In Xen domU, "facter virtual" prints "physical"

Sergio Gelato Sergio.Gelato at astro.su.se
Thu Apr 12 21:00:27 UTC 2012


Public bug reported:

I've installed precise in virtual machines running on top of the Xen 4.0 hypervisor (with a Debian squeeze dom0).
In both i386 machines (running 3.2.0-23-generic-pae #36-Ubuntu) and amd64 machines (with 3.2.0-23-generic #36-Ubuntu), "facter is_virtual" prints out "false" and "facter virtual" prints out "physical".

The desired answers are "true" and "xenu", respectively.

This is related to upstream issue #2747 but I'm not aware of upstream
having found a definitive solution to this problem. I have tested a
patch, based on an analysis of the systems I run, and it does the job
for me but of course I cannot vouch for its universality. I will be
attaching my patch to this bug report.

** Affects: facter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: precise

** Tags added: precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to facter in Ubuntu.
https://bugs.launchpad.net/bugs/980291

Title:
  In Xen domU, "facter virtual" prints "physical"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/facter/+bug/980291/+subscriptions



More information about the Ubuntu-server-bugs mailing list