Bug 752495

Summary: Crash when apply settings
Product: [Fedora] Fedora Reporter: Bill C. Riemers <briemers>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: jhrozek, jon+bugzilla.redhat.com, sbose, sgallagh, ssorce, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: sssd-1.6.4-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 768935 (view as bug list) Environment:
Last Closed: 2012-01-03 20:52:19 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 768935    
Description Flags
/etc/sssd/sssd.conf causing the error none

Description Bill C. Riemers 2011-11-09 12:19:38 EST
Description of problem:

Whenever I click on the apply button, the dialog crashes, my settings are not saved.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. system-config-gtk
2. set some parameters, such as an LDAP configuration
3. click apply
Actual results:

[root@briemersw sssd]# system-config-authentication 
Traceback (most recent call last):
  File "/usr/sbin/system-config-authentication", line 701, in <module>
  File "/usr/sbin/system-config-authentication", line 650, in apply
  File "/usr/share/authconfig/authinfo.py", line 3632, in writeChanged
    ret = ret and group.saveFunction()
  File "/usr/share/authconfig/authinfo.py", line 2974, in writeSSSD
  File "/usr/lib/python2.7/site-packages/SSSDConfig.py", line 1765, in save_domain
    self.delete_option_subtree(section_subtree, 'option', option['name'], True)
  File "/usr/lib/python2.7/site-packages/ipachangeconf.py", line 559, in delete_option_subtree
    index, item = self.findOpts(subtree, type, name, exclude_sections)
  File "/usr/lib/python2.7/site-packages/ipachangeconf.py", line 201, in findOpts
    if o['type'] == type and o['name'] == name:
TypeError: 'int' object is not subscriptable

Expected results:

savings are applied

Additional info:
Comment 1 Tomas Mraz 2011-11-09 17:17:43 EST
I cannot reproduce the problem on my freshly updated Fedora 16 VM. The traceback comes from the SSSD configuration API, reassigning.
Comment 2 Bill C. Riemers 2011-11-09 18:17:23 EST
Created attachment 532688 [details]
/etc/sssd/sssd.conf causing the error

It looks like the code that is reporting the error is designed to remove unrecognised options from the config file.   I do not know which option it is causing the problem.   Based on the idea that it works with a fresh install, I replaced this file with the fresh install file and reconfigured from scratch.
Comment 3 Tomas Mraz 2011-11-10 05:14:12 EST
*** Bug 752741 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Hrozek 2011-11-10 07:08:26 EST
Upstream ticket:
Comment 5 Jon Dowland 2011-11-10 09:35:34 EST
In my case (merged bug 752741) this was a pristine F16 install and no custom sssd.conf.
Comment 6 Fedora Update System 2011-12-19 16:28:00 EST
sssd-1.6.4-1.fc16 has been submitted as an update for Fedora 16.
Comment 7 Fedora Update System 2011-12-22 17:51:32 EST
Package sssd-1.6.4-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sssd-1.6.4-1.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 8 Fedora Update System 2012-01-03 20:52:19 EST
sssd-1.6.4-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.