#3620 sssd should ignore secret/dot files in /etc/sssd{,/conf.d}
Closed: Invalid 6 years ago Opened 6 years ago by tgurr.

While packaging sssd for our distribution I noticed an error on runtime:

[sss_ini_get_config] (0x0020): Config merge error: Directory /etc/sssd/conf.d does not exist.

We disallow packages from installing emtpy directories so the package manager is instructed via "keepdir" to create a secret file, e.g.

/etc/sssd/conf.d/.keep_sys-auth_sssd-0

which results in sssd now complaining in the log files:

(Thu Jan 18 15:20:03:893055 2018) [sssd] [sss_ini_get_config] (0x0020): Config merge error: File .keep_sys-auth_sssd-0 did not match provided patterns. Skipping.

It would be nice to have sssd ignoring secret/dot files like many other programs do as well.


While packaging sssd for our distribution I noticed an error on runtime:
[sss_ini_get_config] (0x0020): Config merge error: Directory /etc/sssd/conf.d does not exist.

A) such error message should not cause any functional problems in SSSD. It is just very verbode.

B) it was changed in ding-libs (libini_config) recently
https://pagure.io/SSSD/ding-libs/issue/3182

So warning shoudl be gone with new upstream release of ding-libs.

Thanks! It works fine after having backported the ding-libs patches. I guess this can be closed then.

Thanks! It works fine after having backported the ding-libs patches. I guess this can be closed then.

YW

BTW which distribution did you mean?

Metadata Update from @lslebodn:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

6 years ago

BTW which distribution did you mean?

I've created a package for SSSD for Exherbo Linux (https://exherbo.org) in 2014 and try to take care of it since then. I guess there's still a lot room for improvements in our distribution regarding SSSD as my testing possibilites for it are quite limited (only AD via LDAP).

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

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