Learn more about these different git repos.
Other Git URLs
https://bugzilla.redhat.com/show_bug.cgi?id=799039 (Red Hat Enterprise Linux 6)
+++ This bug was initially created as a clone of Bug #799031 +++ Description of problem: The Debug level for sss_debuglevel cannot be set with the option --debug Version-Release number of selected component (if applicable): [root@fedora-client sss_tools]# rpm -q sssd sssd-1.8.1-0.20120228T2018Zgit751b121.fc16.i686 How reproducible: Always Steps to Reproduce: 1. Run sss_debuglevel --debug=1 2. sss_debuglevel --debug=0x0020 Actual results: [root@fedora-client sss_tools]# sss_debuglevel --debug=1 Usage: sss_debuglevel [-?] [-?|--help] [--usage] [--debug=INT] [-c|--config STRING] DEBUG_LEVEL_TO_SET Specify debug level you want to set [root@fedora-client sss_tools]# sss_debuglevel --debug=0x0020 Usage: sss_debuglevel [-?] [-?|--help] [--usage] [--debug=INT] [-c|--config STRING] DEBUG_LEVEL_TO_SET Specify debug level you want to set Expected results: The Debug Level should be set accordingly Additional info:
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=799031 (Fedora)
rhbz: [https://bugzilla.redhat.com/show_bug.cgi?id=799039 799039] => [https://bugzilla.redhat.com/show_bug.cgi?id=799039 799039], [https://bugzilla.redhat.com/show_bug.cgi?id=799031 799031]
Fields changed
blockedby: => blocking: => coverity: => feature_milestone: => patch: => 0 tests: => 0 testsupdated: => 0 upgrade: => 0
It is not a bug but misunderstanding. The --debug option specifies what level should apply to sss_debuglevel.
The level we want to set is a free parameter without an option name.
The proper usage is:
sss_debuglevel 1
sss_debuglevel 0x0020
An to enable all debug message in the tool and set 0x0020 in sssd:
_comment0: It is not a bug but misunderstanding. The --debug option specifies what level should apply to sss_debuglevel.
The proper usage is: sss_debuglevel 1 sss_debuglevel 0x0020
An to enable all debug message in the tool and set 0x0020 in sssd: sss_debuglevel --debug 0xfff0 0x0020 => 1330686045727321
Replying to [comment:3 pbrezina]:
Neither the {{{--help}}} nor manpage suggests this. I wasn't aware that's how it worked either (and it's inconsistent with our other tools, which have --debug as a hidden option using {{{POPT_ARGFLAG_DOC_HIDDEN}}}.
Please hide the option from the {{{--help}}}
owner: somebody => pbrezina
Fixed by: - db6aabf (master) - 9073710 (sssd-1-8)
patch: 0 => 1 resolution: => fixed status: new => closed
milestone: NEEDS_TRIAGE => SSSD 1.8.1 (LTM)
Metadata Update from @sgallagh: - Issue assigned to pbrezina - Issue set to the milestone: SSSD 1.8.1 (LTM)
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/2266
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Login to comment on this ticket.