RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 820490 - sss_debuglevel "-c" option should work only with valid sssd.conf file
Summary: sss_debuglevel "-c" option should work only with valid sssd.conf file
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-10 07:23 UTC by Amith
Modified: 2020-05-02 16:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-28 17:25:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 2370 0 None closed sss_debuglevel "-c" option should work only with valid sssd.conf file 2020-09-01 15:40:25 UTC

Description Amith 2012-05-10 07:23:40 UTC
Description of problem:
The "-c" option for sss_debuglevel utility is used when SSSD service runs with non-default config file. This option should work only with valid sssd.conf file. Currently, sss_debuglevel successfully updates the cache when any file is provided with "-c" option. It also works when non-existing files are provided with "-c" option which is not the expected behaviour. The utility should first verify the existence of config file, and then should also check if the given file is a genuine sssd.conf file.

Version-Release number of selected component (if applicable):
sssd-1.8.0-22.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Modify debug level using any existing file, by running the below command:
   # sss_debuglevel -c /etc/sysconfig/network 64

2. Verify if the debug_level value in config.ldb file is updated:
   # ldbsearch -H /var/lib/sss/db/config.ldb -b "cn=LDAP,cn=domain,cn=config"
debug_level

3. Try to modify debug level using a non-existing file.
   # sss_debuglevel -c /root/non-existing_file 32

4. Verify if the debug_level value in config.ldb file is updated:
   # ldbsearch -H /var/lib/sss/db/config.ldb -b "cn=LDAP,cn=domain,cn=config"
debug_level

Actual results:
The debug_level values get updated in the cache.

Expected results:
sss_debuglevel utility should display relevant error messages without updating the cache.

Additional info:

Comment 2 Jakub Hrozek 2012-05-10 09:02:02 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/1328

Comment 8 Jakub Hrozek 2016-02-28 17:25:47 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise
Linux. The request was cloned to the upstream tracker long time ago (see link
to the upstream ticket above), but it was not given a priority neither in the
upstream project, nor in Red Hat Enterprise Linux.

Given that this request is not planned for a close release, it is highly
unlikely it will be fixed in this major version of Red Hat Enterprise Linux. We
are therefore closing the request as WONTFIX.

To request that Red Hat reconsiders the decision, please reopen the Bugzilla
with the help of Red Hat Customer Service and provide additional business
and/or technical details about it's importance to you. Please note that you can
still track this request or even offer help in the referred upstream Trac
ticket to expedite the solution.


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