Bug 508953 - Can't install FreeIPA on F11
Summary: Can't install FreeIPA on F11
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 2.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: freeipa20
TreeView+ depends on / blocked
 
Reported: 2009-06-30 16:07 UTC by Martin Nagy
Modified: 2016-07-26 23:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-28 09:28:35 UTC
Embargoed:


Attachments (Terms of Use)
forward port httplib.SSLFile and httplib.FakeSocket (8.03 KB, patch)
2009-06-30 20:36 UTC, Rob Crittenden
no flags Details | Diff

Description Martin Nagy 2009-06-30 16:07:07 UTC
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'

Comment 1 Rob Crittenden 2009-06-30 19:39:49 UTC
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.

Comment 2 Rob Crittenden 2009-06-30 20:36:58 UTC
Created attachment 350019 [details]
forward port httplib.SSLFile and httplib.FakeSocket

provide our own forward-ported implementation of the missing functions.

Comment 3 Rob Crittenden 2009-07-01 12:52:06 UTC
master: 9352d2fc10dde6ed8cc57f2acee3e27ed7e340c2


Note You need to log in before you can comment on or make changes to this bug.