Red Hat Bugzilla – Bug 1372258
sssctl config-check: Add path to files when pattern matching fails
Last modified: 2018-05-09 08:05:54 EDT
Description of problem: sssctl check-config is inconsistent when on the output: Messages generated during configuration merging: 2 File /etc/sssd/conf.d/wrong-file-permissions.conf did not pass access check. Skipping. File configuration.conf.disabled did not match provided patterns. Skipping. For the second item, only the file name is shown - without the full path. Version-Release number of selected component (if applicable): sssd-tools-1.14.0-27.el7.x86_64 Steps to Reproduce: 1. Add a file /etc/sssd/conf.d/configuration.conf.disabled 2. Run # sssctl config-check Actual results: File configuration.conf.disabled did not match provided patterns. Skipping. Expected results: File /etc/sssd/conf.d/configuration.conf.disabled did not match provided patterns. Skipping.
Upstream ticket: https://fedorahosted.org/sssd/ticket/3166
Upstream ticket: https://fedorahosted.org/sssd/ticket/3171
ding-libs master: * 72ca1a3552fdc33b7fa7e832ecfc235dd685a7e7
Verified with # rpm -qa sssd sssd-1.16.0-14.el7.x86_64 Verification Steps: 1. Configured ldap server. 2. Configure sssd client. 3. Add /etc/sssd/conf.d/test2.conf and /etc/sssd/conf.d/test3.conf files with permission 0777. 4. Run #sssctl config-check # sssctl config-check Issues identified by validators: 0 Messages generated during configuration merging: 2 File /etc/sssd/conf.d/test2.conf did not pass access check. Skipping. File /etc/sssd/conf.d/test3.conf did not pass access check. Skipping. Used configuration snippet files: 1 /etc/sssd/conf.d/test1.conf Showing full path of second file, hence verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0898