Red Hat Bugzilla – Bug 461823
anaconda installs the xen kernel based on busted logic
Last modified: 2015-01-07 19:16:28 EST
Description of problem:
I don't know how far this goes back, but apparently in support of PV drivers, the latest kernels (even non-xen) present a /proc/xen interface. There's logic in anaconda which sees this and takes the existence of that interface as proof of running on a guest. Net result is the -xen kernel gets installed when it shouldn't.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run an install
text.py: if os.path.exists("/proc/xen"): # this keys us that we're a xen guest
yuminstall.py: if not foundkernel and os.path.exists("/proc/xen"):
Looks like the check in iutil.py was updated already.
Jay, this change is pretty new I think:
* 2.6.18-92.1.10.el5 (from 0905.nightly tree) does not have /proc/xen
* 2.6.18-108.el5 (from 0910.nightly tree) does have /proc/xen
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
This is due to /proc/xen being present in bare metal due to XenPV drivers. It is being fixed via 461532.
*** This bug has been marked as a duplicate of bug 461532 ***