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.
Bug 604699 - ipa-client-install --uninstall fails if installed with --no-sssd option
Summary: ipa-client-install --uninstall fails if installed with --no-sssd option
Keywords:
Status: CLOSED DUPLICATE of bug 604704
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On: 604704
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-16 14:20 UTC by Jenny Severance
Modified: 2011-10-20 20:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-16 17:23:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jenny Severance 2010-06-16 14:20:48 UTC
Description of problem:
If the ipa-client-install is executed with --no-sssd option, ipa-client--uninstall fails:

[root@jennyv2 ~]# ipa-client-install --uninstall
Removing Kerberos service principals from /etc/krb5.keytab
Disabling client Kerberos and Ldap configurations
Failed to remove krb5/ldap configuration. Command '/usr/sbin/authconfig --disableldap --disablekrb5 --disablesssd --disablesssdauth --disablemkhomedir --update' returned non-zero exit status 1
[root@jennyv2 ~]# ipa-client-install --no-sssd
IPA client is already configured on this system.


[root@jennyv2 ~]# /usr/sbin/authconfig --disableldap --disablekrb5 --disablesssd --disablesssdauth --disablemkhomedir --update
Traceback (most recent call last):
  File "/usr/sbin/authconfig", line 894, in <module>
    sys.exit(module.run())
  File "/usr/sbin/authconfig", line 478, in run
    self.readAuthInfo()
  File "/usr/sbin/authconfig", line 329, in readAuthInfo
    self.info = authinfo.read(self.printError)
  File "/usr/share/authconfig/authinfo.py", line 922, in read
    info.read()
  File "/usr/share/authconfig/authinfo.py", line 2174, in read
    self.readSSSD()
  File "/usr/share/authconfig/authinfo.py", line 1531, in readSSSD
    domain = self.sssdConfig.get_domain(domname)
  File "/usr/lib/python2.6/site-packages/SSSDConfig.py", line 1456, in get_domain
    if (opt['name'], opt['value']) not in providers]
  File "/usr/lib/python2.6/site-packages/SSSDConfig.py", line 888, in set_option
    (self.name, option))
SSSDConfig.NoOptionError: Section [ldap] has no option [mid_id]


Therefore the uninstall needs a --no-sssd option too - or even better - should automatically detect that sssd is not being used.

Version-Release number of selected component (if applicable):
ipa-client-2.0-7.el6.i686

How reproducible:
always

Steps to Reproduce:
1. ipa-client-install --no-sssd
2. ipa-client--uninstall
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 RHEL Program Management 2010-06-16 14:32:54 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Dmitri Pal 2010-06-16 15:19:20 UTC
IMO the right way to fix this bug is to fix the bug https://bugzilla.redhat.com/show_bug.cgi?id=604704. Adding it as dependency.
I am not sure we need to duplicate the checks in the ipa-client to make sure that SSSD was not configured.

Comment 4 Stephen Gallagher 2010-06-16 17:23:00 UTC

*** This bug has been marked as a duplicate of bug 604704 ***


Note You need to log in before you can comment on or make changes to this bug.