Description of problem: FreeIPA fails to install on Fedora 11. How reproducible: Run ipa-server-install Actual results: [root@server freeipa]# ipa-server-install /usr/lib/python2.6/site-packages/ipaserver/install/certs.py:21: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Traceback (most recent call last): File "/usr/sbin/ipa-server-install", line 40, in <module> from ipaserver.install import dsinstance File "/usr/lib/python2.6/site-packages/ipaserver/install/dsinstance.py", line 35, in <module> import certs File "/usr/lib/python2.6/site-packages/ipaserver/install/certs.py", line 31, in <module> from ipapython import nsslib File "/usr/lib/python2.6/site-packages/ipapython/nsslib.py", line 52, in <module> class SSLFile(httplib.SSLFile): AttributeError: 'module' object has no attribute 'SSLFile'
It seems that python 2.6 has a new httplib implementation that is quite different from 2.4 and 2.5. I think the least-invasive fix is to forward port the SSLFile/FakeSocket code.
Created attachment 350019 [details] forward port httplib.SSLFile and httplib.FakeSocket provide our own forward-ported implementation of the missing functions.
master: 9352d2fc10dde6ed8cc57f2acee3e27ed7e340c2