#4515 freeipa-client needs python-backports-ssl_match_hostname
Closed: Fixed None Opened 9 years ago by pviktori.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1135516

Running ipa-client-install (via realmd) leads to this backtrace:

Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 2848, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 2829, in main
    rval = install(options, env, fstore, statestore)
  File "/usr/sbin/ipa-client-install", line 2528, in install
    api.finalize()
  File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 708, in
finalize
    self.__do_if_not_done('load_plugins')
  File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 482, in
__do_if_not_done
    getattr(self, name)()
  File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 645, in
load_plugins
    self.import_plugins('ipalib')
  File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 689, in
import_plugins
    __import__(fullname)
  File "/usr/lib/python2.7/site-packages/ipalib/plugins/otptoken.py", line 28,
in <module>
    from backports.ssl_match_hostname import match_hostname
ImportError: No module named backports.ssl_match_hostname
 ! Running ipa-client-install failed

Jakub already send a patch for this

master:

  • 42bf7ab CLIENT: Explicitly require python-backports-ssl_match_hostname

ipa-4-1:

  • c034044 CLIENT: Explicitly require python-backports-ssl_match_hostname

ipa-4-0:

  • aa5d86c CLIENT: Explicitly require python-backports-ssl_match_hostname

master:

  • 68b7312 freeipa.spec.in: Add python-backports-ssl_match_hostname to BuildRequires

ipa-4-1:

  • cac070b freeipa.spec.in: Add python-backports-ssl_match_hostname to BuildRequires

ipa-4-0:

  • 4adefc3 freeipa.spec.in: Add python-backports-ssl_match_hostname to BuildRequires

Metadata Update from @pviktori:
- Issue assigned to jhrozek
- Issue set to the milestone: FreeIPA 4.0.2

7 years ago

Login to comment on this ticket.

Metadata