Red Hat Bugzilla – Bug 434804
anaconda includes fedorakmod with old yum
Last modified: 2009-01-20 16:38:01 EST
Description of problem:
The RHEL 5.1 stage2 image includes the fedorakmod yum plugin. This is all well,
good, and actually useful, except that the version of Yum used with this
anaconda is too old and can cause tracebacks when used with kmods.
Specifically, in /usr/lib/python2.4/site-packagesyum/packages.py in the RpmBase
object the __eq__ method needs to check if the passed in package object is None.
This is done in later versions of Yum.
if not other:
I added the yum python package from Yum 3.0.5 to my product.img file.
Amazingly, it seems that Anaconda still works and the evil tracebacks are gone.
(3.0.5 was released shortly after I patched the above.)
We added the plugin to anaconda because, at the time, we did not ship yum-utils
in RHEL5. Now that we do ship it, we should remove it from anaconda and use the
plugin from the yum-utils package instead.
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
Created attachment 310910 [details]
Patch for removing fedorakmod.py plugin from anaconda,
using kmod.py from yum-utils instead.
Not tested yet, I need to find/create RHEL5 images build environment.
Modified with commit 094c5a9cbccfcd26ea3509736d83e8cf34bc0c6f.
Included in 22.214.171.124.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.