Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 1448639 [details] ipaclient-uninstall.log Description of problem: When leaving a FreeIPA domain, this error happens: Jun 07 04:02:20 x0.cockpit.lan realmd[1857]: Disabling client Kerberos and LDAP configurations Jun 07 04:02:20 x0.cockpit.lan realmd[1857]: Failed to remove krb5/LDAP configuration: expected str, bytes or os.PathLike object, not NoneType Jun 07 04:02:20 x0.cockpit.lan realmd[1857]: The ipa-client-install command failed. See /var/log/ipaclient-uninstall.log for more information Jun 07 04:02:20 x0.cockpit.lan realmd[1857]: process exited: 2753 Jun 07 04:02:20 x0.cockpit.lan realmd[1857]: ! Running ipa-client-install failed Version-Release number of selected component (if applicable): freeipa-client-4.6.90.pre2-3.fc28.x86_64 realmd-0.16.3-12.fc28.x86_64 How reproducible: Always I attach the uninstall log.
Created attachment 1448640 [details] /var/log/ipaclient-install.log For completeness, here is the corresponding install log.
Initial investigation: the uninstall log shows: '/usr/bin/authselect', 'select', None, None, '--force' when trying to revert to the pre-install state. This means that it was unable to find in sysrestore the authselect profile + options that were configured on the system before ipa client was installed. Need to investigate how this can happen and make it more robust (when unable to read the value, default to sssd profile with no options for instance).
Upstream ticket: https://pagure.io/freeipa/issue/7657
Fixed upstream master: https://pagure.io/freeipa/c/d0173c9548857f855d95ba4bb5b068841f356049 https://pagure.io/freeipa/c/1a7e4b0ec1a7fcd7242b4ae76582a272c4f63657
Fixed upstream ipa-4-7: https://pagure.io/freeipa/c/7ce495048d2de59042e1b61b8a56ca04f6b2dca9 https://pagure.io/freeipa/c/4f323bc20f5e5df828dc6e8efb670248df57d9b8
Automation: ipatests/test_integration/test_authselect.py::TestClientInstallation::test_uninstall_wrong_sysrestore
This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fixed in 4.7.2