[Freeipa-devel] [PATCH 537] ipapython: port p11helper C code to Python

Timo Aaltonen tjaalton at ubuntu.com
Fri Mar 18 04:16:47 UTC 2016


07.01.2016, 10:50, Jan Cholasta kirjoitti:
> Hi,
> 
> the attached patch ports the _ipap11helper module to python-cffi.
> 
> Combined with my patch 536 [1], this makes ipapython architecture
> independent.

don't know why it works for you, but ipa-ods-exporter and ipa-dnskeysync-replica both still try to import _ipap11helper, which fails:

maalis 18 05:45:46 trusty.tyrell ipa-ods-exporter[8788]: Traceback (most recent call last):
maalis 18 05:45:46 trusty.tyrell ipa-ods-exporter[8788]:   File "/usr/lib/ipa/ipa-ods-exporter", line 4
maalis 18 05:45:46 trusty.tyrell ipa-ods-exporter[8788]:     import _ipap11helper
maalis 18 05:45:46 trusty.tyrell ipa-ods-exporter[8788]: ImportError: No module named _ipap11helper
maalis 18 05:45:46 trusty.tyrell systemd[1]: ipa-ods-exporter.service: Main process exited, code=exited
maalis 18 05:45:46 trusty.tyrell systemd[1]: ipa-ods-exporter.service: Unit entered failed state.
maalis 18 05:45:46 trusty.tyrell systemd[1]: ipa-ods-exporter.service: Failed with result 'exit-code'.
maalis 18 05:46:47 trusty.tyrell systemd[1]: ipa-ods-exporter.service: Service hold-off time over, sche
maalis 18 05:46:47 trusty.tyrell systemd[1]: Stopped IPA OpenDNSSEC Signer replacement.

dropping the import makes it work again here.. this is with fairly current ipa-4-3 branch.


-- 
t




More information about the Freeipa-devel mailing list