Bug 810608 - authconfig crashes on --update
Summary: authconfig crashes on --update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 16
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-07 05:54 UTC by Braden McDaniel
Modified: 2020-05-02 16:50 UTC (History)
4 users (show)

Fixed In Version: sssd-1.8.2-10.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-24 15:02:21 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 2333 0 None None None 2020-05-02 16:50:42 UTC

Description Braden McDaniel 2012-04-07 05:54:39 UTC
Description of problem:
The following command line crashes authconfig:
# /usr/sbin/authconfig --enablesssdauth --update --enablesssd
Traceback (most recent call last):
  File "/usr/sbin/authconfig", line 938, in <module>
    sys.exit(module.run())
  File "/usr/sbin/authconfig", line 538, in run
    self.writeAuthInfo()
  File "/usr/sbin/authconfig", line 505, in writeAuthInfo
    if not self.info.writeChanged(self.pristineinfo):
  File "/usr/share/authconfig/authinfo.py", line 3642, in writeChanged
    ret = ret and group.saveFunction()
  File "/usr/share/authconfig/authinfo.py", line 2974, in writeSSSD
    self.sssdConfig.save_domain(domain)
  File "/usr/lib/python2.7/site-packages/SSSDConfig.py", line 1969, in save_domain
    self.delete_option_subtree(section_subtree['values'], 'option', option['name'], True)
KeyError: 'values'

Most unfortunately, this command line is what ipa-client-install executes.

Version-Release number of selected component (if applicable):
1.8.1-9.fc16

How reproducible:
Consistently.

Comment 1 Braden McDaniel 2012-04-07 05:56:19 UTC
I tried 1.8.1-9.fc16 from updates-testing after first seeing this in 1.8.1-7.fc16.

Comment 2 Stephen Gallagher 2012-04-09 11:05:39 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/1291

Comment 3 Stephen Gallagher 2012-04-09 11:06:59 UTC
Thanks for the bug report. We fixed this upstream last week and we'll be including it in the 1.8.2 release this week.

Comment 4 Fedora Update System 2012-04-09 19:31:01 UTC
sssd-1.8.2-10.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/FEDORA-2012-4404/sssd-1.8.2-10.fc16

Comment 5 Fedora Update System 2012-04-11 03:59:36 UTC
Package sssd-1.8.2-10.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.8.2-10.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-4404/sssd-1.8.2-10.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-04-24 15:02:21 UTC
sssd-1.8.2-10.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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