#1057 SSSDConfig API cannot read new debug level format
Closed: Fixed None Opened 9 years ago by sgallagh.

I tried to run authconfig-gtk and got:

[root@sgallagh520 sssd]# authconfig-gtk 
Traceback (most recent call last):
  File "/usr/sbin/authconfig-gtk", line 685, in <module>
    module = Authconfig()
  File "/usr/sbin/authconfig-gtk", line 184, in __init__
    self.info = authinfo.read(self.message_callback)
  File "/usr/share/authconfig/authinfo.py", line 992, in read
    info.read()
  File "/usr/share/authconfig/authinfo.py", line 2303, in read
    self.readSSSD(ref)
  File "/usr/share/authconfig/authinfo.py", line 1710, in readSSSD
    domain = self.sssdConfig.get_domain(domname)
  File "/usr/lib/python2.7/site-packages/SSSDConfig.py", line 1550, in get_domain
    domain.set_option(opt['name'], opt['value'])
  File "/usr/lib/python2.7/site-packages/SSSDConfig.py", line 999, in set_option
    (option_schema[0], option, type(value)))

The reason is that my sssd.conf includes:

debug_level = 0xFF0

Which is failing to be recognized as an integer value. The solution is to change the type-conversion to use base 0 (auto-detect) instead of base 10 (the default).


Fields changed

patch: 0 => 1
status: new => assigned

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.7.0

Fixed by 7fac271

resolution: => fixed
status: assigned => closed

Fields changed

rhbz: => 0

Metadata Update from @sgallagh:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.7.0

3 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2099

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata