Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
ipa-client-install --uninstall fails in authconfig invocation
Version-Release number of selected component (if applicable):
RHEL-8 image: RHEL-8.0-20181120.n.0-x86_64
ipa-client-4.7.1-5.module+el8+2239+1c5bd4cb.x86_64
authselect-compat-1.0-8.el8.x86_64
How reproducible:
Always
Steps to Reproduce:
1. have ipa server installed
2. ipa-client-install ...
3. ipa-client-install --uninstall -U
Actual results:
exit code 1
Last lines of ipa-client-install output:
```
WARNING: Unable to revert to the pre-installation state ('authconfig' tool has been deprecated in favor of 'authselect'). The default sssd profile will be used instead.
The authconfig arguments would have been: authconfig --disableldap --disablekrb5 --disablesssdauth --disablemkhomedir
Failed to remove krb5/LDAP configuration: CalledProcessError(Command ['/usr/bin/authselect', 'select', 'sssd', '', '--force'] returned non-zero exit status 1: '[error] Unknown profile feature []\n[error] Unable to activate profile [sssd] [22]: Invalid argument\nUnable to activate profile [22]: Invalid argument\n')
```
Expected results:
exit code 0, message "Client uninstall complete."
Additional info:
Uninstallation works with RHEL-8 build of 2018-11-20, it has previous version of authselect-compat and same version of ipa-client
authselect-compat-1.0-6.el8.x86_64
ipa-client-4.7.1-5.module+el8+2239+1c5bd4cb.x86_64
Last lines of output:
```
WARNING: Unable to revert to the pre-installation state ('authconfig' tool has been deprecated in favor of 'authselect'). The default sssd profile will be used instead.
The authconfig arguments would have been: authconfig --disableldap --disablekrb5 --disablesssdauth --disablemkhomedir
An error occurred while removing SSSD's cache.Please remove the cache manually by executing sssctl cache-remove -o.
Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted
nscd daemon is not installed, skip configuration
nslcd daemon is not installed, skip configuration
Client uninstall complete.
```
Comment 1Florence Blanc-Renaud
2018-12-07 17:43:03 UTC
This is a duplicate of BZ 1654291.
*** This bug has been marked as a duplicate of bug 1654291 ***
Description of problem: ipa-client-install --uninstall fails in authconfig invocation Version-Release number of selected component (if applicable): RHEL-8 image: RHEL-8.0-20181120.n.0-x86_64 ipa-client-4.7.1-5.module+el8+2239+1c5bd4cb.x86_64 authselect-compat-1.0-8.el8.x86_64 How reproducible: Always Steps to Reproduce: 1. have ipa server installed 2. ipa-client-install ... 3. ipa-client-install --uninstall -U Actual results: exit code 1 Last lines of ipa-client-install output: ``` WARNING: Unable to revert to the pre-installation state ('authconfig' tool has been deprecated in favor of 'authselect'). The default sssd profile will be used instead. The authconfig arguments would have been: authconfig --disableldap --disablekrb5 --disablesssdauth --disablemkhomedir Failed to remove krb5/LDAP configuration: CalledProcessError(Command ['/usr/bin/authselect', 'select', 'sssd', '', '--force'] returned non-zero exit status 1: '[error] Unknown profile feature []\n[error] Unable to activate profile [sssd] [22]: Invalid argument\nUnable to activate profile [22]: Invalid argument\n') ``` Expected results: exit code 0, message "Client uninstall complete." Additional info: Uninstallation works with RHEL-8 build of 2018-11-20, it has previous version of authselect-compat and same version of ipa-client authselect-compat-1.0-6.el8.x86_64 ipa-client-4.7.1-5.module+el8+2239+1c5bd4cb.x86_64 Last lines of output: ``` WARNING: Unable to revert to the pre-installation state ('authconfig' tool has been deprecated in favor of 'authselect'). The default sssd profile will be used instead. The authconfig arguments would have been: authconfig --disableldap --disablekrb5 --disablesssdauth --disablemkhomedir An error occurred while removing SSSD's cache.Please remove the cache manually by executing sssctl cache-remove -o. Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted nscd daemon is not installed, skip configuration nslcd daemon is not installed, skip configuration Client uninstall complete. ```