#3171 sssctl config-check: Add path to files when pattern matching fails
Closed: Duplicate Opened by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1372258

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.

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
owner: somebody => mzidek
patch: 0 => 1
review: True => 0
selected: =>
testsupdated: => 0

Sorry, we already have #3166, I totally forgot about the ticket, closing.

resolution: => duplicate
status: new => closed

Metadata Update from @jhrozek:
- Issue assigned to mzidek
- Issue set to the milestone: NEEDS_TRIAGE

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/4204

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.

Metadata