Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: The package freeipa-server-dns is a quite minimal package which contains only one python3 based file /usr/sbin/ipa-dns-install. The /usr/sbin/ipa-dns-install already uses python3 as an interpreter. Hoverver, freeipa-server-dns still require python2 based packages even thought it should require python3 equivalent of packages sh# head -n1 /usr/sbin/ipa-dns-install #!/usr/bin/python3 -E sh# rpm -q --requires freeipa-server-dns | grep python2 python2 python2-ipalib python2-ipaserver Version-Release number of selected component (if applicable): sh# rpm -q freeipa-server-dns freeipa-server-dns-4.6.3-2.fc27.noarch How reproducible: Deterministic Steps to Reproduce: 1. //install dogtag from updates testing due to requirements for freeipa-4.6.3 which is already in updates dnf install --best -y --enablerepo=updates-testing pki-ca pki-kra pki-base-python3 2. // following step will not install python2 dnf install --best -y freeipa-server 3. // following step should not install python2 dnf install --best freeipa-server-dns Actual results: [root@eafcbf1b0629 /]# dnf install --best freeipa-server-dns Last metadata expiration check: 2:52:29 ago on Thu Feb 22 08:48:12 2018. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: freeipa-server-dns noarch 4.6.3-2.fc27 updates 60 k Installing dependencies: bind x86_64 32:9.11.2-1.P1.fc27 updates 2.1 M bind-dyndb-ldap x86_64 11.1-8.fc27 updates 127 k bind-pkcs11 x86_64 32:9.11.2-1.P1.fc27 updates 362 k bind-pkcs11-libs x86_64 32:9.11.2-1.P1.fc27 updates 1.1 M bind-pkcs11-utils x86_64 32:9.11.2-1.P1.fc27 updates 216 k ldns x86_64 1.7.0-9.fc27 updates 160 k libitm x86_64 7.3.1-2.fc27 updates 86 k opencryptoki x86_64 3.7.0-3.fc27 fedora 102 k opencryptoki-icsftok x86_64 3.7.0-3.fc27 fedora 236 k opencryptoki-libs x86_64 3.7.0-3.fc27 fedora 47 k opendnssec x86_64 1.4.14-1.fc27 updates 461 k python-netaddr noarch 0.7.19-3.fc27 fedora 1.5 M python-qrcode-core noarch 5.1-7.fc27 fedora 43 k python2-augeas noarch 0.5.0-9.fc27 fedora 29 k python2-babel noarch 2.3.4-6.fc27 fedora 4.9 M python2-configparser noarch 3.5.0b2-6.fc27 fedora 41 k python2-crypto x86_64 2.6.1-19.fc27 updates 486 k python2-custodia noarch 0.5.0-9.fc27 fedora 99 k python2-dateutil noarch 1:2.6.0-4.fc27 fedora 248 k python2-decorator noarch 4.0.11-3.fc27 fedora 25 k python2-dns noarch 1.15.0-4.fc27 fedora 251 k python2-gssapi x86_64 1.3.0-1.fc27 updates 437 k python2-ipaclient noarch 4.6.3-2.fc27 updates 573 k python2-ipalib noarch 4.6.3-2.fc27 updates 546 k python2-ipaserver noarch 4.6.3-2.fc27 updates 1.3 M python2-jinja2 noarch 2.9.6-2.fc27 fedora 545 k python2-jwcrypto noarch 0.4.2-3.fc27 fedora 62 k python2-kdcproxy noarch 0.3.2-8.fc27 fedora 32 k python2-libipa_hbac x86_64 1.16.0-6.fc27 updates 76 k python2-markupsafe x86_64 0.23-16.fc27 fedora 36 k python2-netifaces x86_64 0.10.6-1.fc27 fedora 23 k python2-sss-murmur x86_64 1.16.0-6.fc27 updates 66 k python2-sssdconfig noarch 1.16.0-6.fc27 updates 109 k python2-systemd x86_64 234-3.fc27 fedora 79 k python2-yubico noarch 1.3.2-7.fc27 fedora 61 k pytz noarch 2017.2-2.fc27 fedora 51 k pyusb noarch 1.0.0-5.fc27 fedora 85 k sqlite x86_64 3.20.1-1.fc27 fedora 588 k Transaction Summary ================================================================================ Install 39 Packages Expected results: sh# dnf install --best freeipa-server-dns Last metadata expiration check: 2:52:29 ago on Thu Feb 22 08:49:12 2018. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: freeipa-server-dns noarch 4.6.3-2.fc27 updates 60 k Installing dependencies: bind x86_64 32:9.11.2-1.P1.fc27 updates 2.1 M bind-dyndb-ldap x86_64 11.1-8.fc27 updates 127 k bind-pkcs11 x86_64 32:9.11.2-1.P1.fc27 updates 362 k bind-pkcs11-libs x86_64 32:9.11.2-1.P1.fc27 updates 1.1 M bind-pkcs11-utils x86_64 32:9.11.2-1.P1.fc27 updates 216 k ldns x86_64 1.7.0-9.fc27 updates 160 k libitm x86_64 7.3.1-2.fc27 updates 86 k opencryptoki x86_64 3.7.0-3.fc27 fedora 102 k opencryptoki-icsftok x86_64 3.7.0-3.fc27 fedora 236 k opencryptoki-libs x86_64 3.7.0-3.fc27 fedora 47 k opendnssec x86_64 1.4.14-1.fc27 updates 461 k pytz noarch 2017.2-2.fc27 fedora 51 k pyusb noarch 1.0.0-5.fc27 fedora 85 k sqlite x86_64 3.20.1-1.fc27 fedora 588 k Transaction Summary ================================================================================ Install 15 Packages
Thanks for your bug report. The package dependencies are correct. freeipa-server-dns 4.6.3 must depends on python2-ipaserver for some DNSSEC subcomponents. The remaining Python 3 issues with DNSSEC have been fixed by https://github.com/freeipa/freeipa/pull/1289. 4.6.4 and 4.7.0 will no longer depend on python2-ipaserver for freeipa-server-dns.
If it was fixed then it is a known bug in fedora and BZ should be moved to post; so people can track it and be notified by bodhi. Feel free to change description of bug.
It's not a bug. It's a known and well understood fact that FreeIPA 4.6.3 wasn't fully Python 3 compatible. Since all official Dogtag releases still requires Python 2, it doesn't matter much. An IPA server installation depends on Python 2 any way. Please close this issue.
I know that dogtag still requires python2 packages. But dogtag does not depend on any python2 packages provided by sssd. And as you can see in description of this bug, installation of freeipa-server-dns indirectly pulls sssd related python2 (python2-sss-murmur and python2-sssdconfig). Thank you very much for fixing this in upstream and providing link to pull request. If we close this bug how will people be notified when fixed version (4.6.4) will get to fedora (updates-testing and later to updates)?
freeipa-4.6.90.pre1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2fd7295cb9
dogtag-pki-10.6.0-0.2.fc28, dogtag-pki-theme-10.6.0-0.2.fc28, freeipa-4.6.90.pre1-1.fc28, pki-console-10.6.0-0.2.fc28, pki-core-10.6.0-0.2.fc28, tomcat-8.5.29-1.fc28, tomcatjss-7.3.0-0.2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2fd7295cb9
dogtag-pki-10.6.0-0.2.fc28, dogtag-pki-theme-10.6.0-0.2.fc28, freeipa-4.6.90.pre1-1.fc28, pki-console-10.6.0-0.2.fc28, pki-core-10.6.0-0.2.fc28, tomcat-8.5.29-1.fc28, tomcatjss-7.3.0-0.2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
Issue was fixed just in fc28 based on bodhi. But this BZ is for fedora 27.
As I said before: (In reply to Christian Heimes from comment #3) > It's not a bug. It's a known and well understood fact that FreeIPA 4.6.3 > wasn't fully Python 3 compatible. Since all official Dogtag releases still > requires Python 2, it doesn't matter much. An IPA server installation > depends on Python 2 any way. Please close this issue. FreeIPA 4.7 on F28 has been fixed. FreeIPA 4.6 on F27 will still pull in Python 2 bits for DNS support during the lifetime of FreeIPA 4.6. The status of the bug is FIXED on F28 and WONTFIX on F27.
This BZ is for fedora 27.
We are not going to fix this in F27.
Fedora 27 has freeipa-4.6.x This bug was fixed in upstream 4.6.x https://github.com/freeipa/freeipa/pull/1539 So it will be automatically fixed with next minor update of freeIPA-4.6. And because fedora 27 will be supported for at least 6-7 months it is very likely that there will be next release of freeIPA which will land in f27.
I hate to repeat myself and I won't repeat myself any more. We are not going to fix this for F27.
Does it mean that there will not be any new version of freeipa in f27? It would be really unfortunate that there would not be a lot of unfixed bugs which are already fixed in upstream. Or does it mean that there will be new update of f27 but patches from PR https://github.com/freeipa/freeipa/pull/1539 will be reverted.
We are not ready to certify that F27 will be able to run without some python 2 dependencies (e.g. a pure py3 environment). Some of the changes have been backported and it MAY work but we are more comfortable stating this for F28+.
(In reply to Rob Crittenden from comment #16) > We are not ready to certify that F27 will be able to run without some python > 2 dependencies (e.g. a pure py3 environment). Some of the changes have been > backported and it MAY work but we are more comfortable stating this for F28+. As you can see in description of ticket, this BZ does not say anything about freeIPA in pure python3 environment. It is just about dropping unnecessary dependencies for specific sub-package. And ipa-dns-install use python3 even nowadays. sh# head -n1 /usr/sbin/ipa-dns-install #!/usr/bin/python3 -E I am looking forward to see new version of freeIPA in f27 and even thought this BZ was closed as WONTFIX. I hope it will be fixed with next release. (because it was already fixed in upstream 3.5 months ago)