freeipa/ipaplatform/redhat
Martin Babinsky 7cd99e8520 use FFI call to rpmvercmp function for version comparison
Stop using rpm-python to compare package versions since the implicit NSS
initialization upon  the module import breaks NSS handling in IPA code. Call
rpm-libs C-API function via CFFI instead.

Big thanks to Martin Kosek <mkosek@redhat.com> for sharing the code snippet
that spurred this patch.

https://fedorahosted.org/freeipa/ticket/5572

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2016-01-11 17:54:36 +01:00
..
__init__.py Split off generic Red Hat-like platform code from Fedora platform code 2014-10-09 15:37:24 +02:00
authconfig.py do not overwrite files with local users/groups when restoring authconfig 2015-10-02 12:45:26 +02:00
constants.py ipaplatform: Add constants submodule 2015-07-21 17:29:33 +02:00
paths.py DNSSEC: platform paths and services 2014-10-21 12:23:03 +02:00
services.py Remove unused imports 2015-12-23 07:59:22 +01:00
tasks.py use FFI call to rpmvercmp function for version comparison 2016-01-11 17:54:36 +01:00