Ticket #1291 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Authconfig crashes when sets krb realm

Reported by: sgallagh Owned by: jhrozek
Priority: critical Milestone: NEEDS_TRIAGE
Component: SSSDConfig API Version: 1.8.0
Keywords: Regression Cc:
Blocked By: Blocking:
Sensitive: Tests Updated: no
Coverity Bug: Patch Submitted: yes
Red Hat Bugzilla: 808458, 810608 Design link:
Feature Milestone:
Design review: Fedora test page:
Chosen: Candidate to push out:
Release Notes:
Temp mark:


https://bugzilla.redhat.com/show_bug.cgi?id=808458 (Red Hat Enterprise Linux 6)

Description of problem:
When setting krb5realm in authconfig, it prints this traceback:

# authconfig --update --nostart --krb5realm=REALM1.COM

Traceback (most recent call last):
  File "/usr/sbin/authconfig", line 926, in <module>
  File "/usr/sbin/authconfig", line 521, in run
  File "/usr/sbin/authconfig", line 488, in writeAuthInfo
    if not self.info.writeChanged(self.pristineinfo):
  File "/usr/share/authconfig/authinfo.py", line 3531, in writeChanged
    ret = ret and group.saveFunction()
  File "/usr/share/authconfig/authinfo.py", line 2882, in writeSSSD
  File "/usr/lib/python2.6/site-packages/SSSDConfig.py", line 1969, in
    self.delete_option_subtree(section_subtree['values'], 'option',
option['name'], True)
KeyError: 'values'

# echo $?

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

How reproducible:

Steps to Reproduce:
1. authconfig --update --nostart --krb5realm=REALM1.COM

Actual results:
Traceback as above, krb5.conf is updated with realm1.com

Expected results:
No ouput on stdout

# echo $?

Properly updated krb5.conf

Additional info:

Change History

comment:1 Changed 5 years ago by sgallagh

  • tests set to 0
  • upgrade set to 0
  • Tests Updated unset
  • Priority changed from major to critical
  • Owner changed from somebody to jhrozek
  • Keywords Regression added

Appears to have been introduced by 535b4fc2c320c2fc5075947c105d830ce59d2958

comment:2 Changed 5 years ago by jhrozek

  • Status changed from new to assigned
  • Patch Submitted set

comment:3 Changed 5 years ago by sgallagh

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:4 Changed 5 years ago by sgallagh

  • Red Hat Bugzilla changed from [https://bugzilla.redhat.com/show_bug.cgi?id=808458 808458] to [https://bugzilla.redhat.com/show_bug.cgi?id=808458 808458], [https://bugzilla.redhat.com/show_bug.cgi?id=810608 810608]
Note: See TracTickets for help on using tickets.