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 746298 - installation fails if sssd.conf exists and is already configured
Summary: installation fails if sssd.conf exists and is already configured
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 748554
TreeView+ depends on / blocked
 
Reported: 2011-10-14 17:25 UTC by Rob Crittenden
Modified: 2011-12-06 18:43 UTC (History)
2 users (show)

Fixed In Version: ipa-2.1.3-1.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Clone Of:
Environment:
Last Closed: 2011-12-06 18:43:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1533 0 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-06 01:23:31 UTC

Description Rob Crittenden 2011-10-14 17:25:07 UTC
Description of problem:

Been messing with the client installer all morning including a lot of failures. I'm guessing some previous configuration got left hanging around.

# ipa-client-install 
Discovery was successful!
Hostname: panther.greyoak.com
Realm: GREYOAK.COM
DNS Domain: greyoak.com
IPA Server: doberman.greyoak.com
BaseDN: dc=greyoak,dc=com


Continue to configure the system with these values? [no]: y
User authorized to enroll computers: admin
Synchronizing time with KDC...
Unable to sync time with IPA NTP server, assuming the time is in sync.
Password for admin: 

Enrolled in IPA realm GREYOAK.COM
Created /etc/ipa/default.conf
Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 1271, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 1258, in main
    rval = install(options, env, fstore, statestore)
  File "/usr/sbin/ipa-client-install", line 1096, in install
    if configure_sssd_conf(fstore, cli_realm, cli_domain, cli_server, options):
  File "/usr/sbin/ipa-client-install", line 686, in configure_sssd_conf
    domain = sssdconfig.new_domain(cli_domain)
  File "/usr/lib/python2.7/site-packages/SSSDConfig.py", line 1564, in new_domain
    raise DomainAlreadyExistsError
SSSDConfig.DomainAlreadyExistsError

We should rename the bad sssd.conf and create a new one in this case. If the preserve option is set we should bail out.

Comment 1 Rob Crittenden 2011-10-14 17:30:28 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/1989

Comment 2 Rob Crittenden 2011-10-14 18:39:00 UTC
master: 470576a832b0cbb35a2ebdd565dca793f2c86b00

ipa-2-1: 3506dc8ed4e59f08c1094266482420744630f757

Comment 4 Jenny Severance 2011-10-26 19:28:03 UTC
verified:
had configured sssd.conf in place ...

# ipa-client-install --hostname ipaclient.testrelm
Discovery was successful!
Hostname: ipaclient.testrelm
Realm: TESTRELM
DNS Domain: testrelm
IPA Server: dhcp-100-18-170.testrelm
BaseDN: dc=testrelm


Continue to configure the system with these values? [no]: yes
User authorized to enroll computers: admin
Synchronizing time with KDC...
Password for admin@TESTRELM: 

Enrolled in IPA realm TESTRELM
Created /etc/ipa/default.conf
Domain testrelm is already configured in existing SSSD config, creating a new one.
The old /etc/sssd/sssd.conf is backed up and will be restored during uninstall.
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm TESTRELM
Warning: Hostname (ipaclient.testrelm) not found in DNS
DNS server record set to: ipaclient.testrelm -> 10.16.18.183
SSSD enabled
NTP enabled
Client configuration complete.

verision:
ipa-client-2.1.3-4.el6.x86_64
ipa-server-2.1.3-4.el6.x86_64

ipa-client-install --uninstall  replaced sssd.conf with the one already configured.

Comment 5 Martin Kosek 2011-10-31 16:20:05 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Do not document

Comment 6 errata-xmlrpc 2011-12-06 18:43:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1533.html


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