yum raises ImportError exception

Issue: After installation of RHSA-2012:0744-01 yum aborts now with a segmentation fault

Environment:

  • Red Hat Enterprise Linux 6

Resolution:

Install errata RHBA-2012-1250.html.

Root Cause:

As part of the fix for CVE-2012-0876, a new symbol ("XML_SetHashSalt") was added to the system libexpat library, and which Python's standard library uses within the pyexpat module. If an unpatched libexpat.so.1 was present in a directory listed in LD_LIBRARY_PATH, then attempts to use the pyexpat module (such as within yum) would fail with an ImportError exception. This update adds an RPATH directive to pyexpat to ensure that the system libexpat is used by pyexpat, regardless of whether there is an unpatched libexpat within the LD_LIBRARY_PATH, thus preventing the ImportError exception. (BZ#848815)

All Python users are advised to upgrade to these updated packages, which fix this bug.


Back to top...

+ Recent posts