Red Hat Bugzilla – Bug 240625
boot images from 20070518 fail with ImportError
Last modified: 2007-11-30 17:12:04 EST
Description of problem:
An attempt to boot (tried "rescue") using images posted on
20070518 results in a traceback which ends up with
ImportError: No modules named _sha256.
This comes from line 34 of /usr/lib64/python2.5/hashlib.py
imported in turn by urllib2.
Unfortunately most of a traceback is scrolled off a screen
by "you may safely reboot your system" message and everything
is already killed so no access to logs.
(Tried to confirm that bug 230948 is indeed gone, but no such luck.)
*** This bug has been marked as a duplicate of 240629 ***
I noticed that this occurred on an FC7 yum update - it looks like possibly
python is misconfigured. The output (note this is manually copied - the FC7
system is without an X11 environment at the moment for either this or some other
reason that I haven't looked into):
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named _sha256
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.5 (r25:51908, Apr 10 2007, 10:27:40)
[GCC 4.1.2 20070403 (Red Hat 4.1.2-8)]
Sounds like very similar root cause at least.