Comment 21 for bug 1919563

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I'm reviewing this for SRU, and am currently looking at the sssd-common.postinst changes. One question came to mind: what about config file snippets that can exist in /etc/sssd/conf.d?

From the sssd.conf(5) manpage:

CONFIGURATION SNIPPETS FROM INCLUDE DIRECTORY
       The configuration file sssd.conf will include configuration snippets using the include directory conf.d. This feature is available if SSSD was
       compiled with libini version 1.3.0 or later.

       Any file placed in conf.d that ends in “.conf” and does not begin with a dot (“.”) will be used together with sssd.conf to configure SSSD.

       The configuration snippets from conf.d have higher priority than sssd.conf and will override sssd.conf when conflicts occur. If several snippets are
       present in conf.d, then they are included in alphabetical order (based on locale). Files included later have higher priority. Numerical prefixes
       (01_snippet.conf, 02_snippet.conf etc.) can help visualize the priority (higher number means higher priority).

I note that focal has libini-config5 0.6.1-2 (and sssd-common depends on it), so does that mean sssd in focal does not support that conf.d directory because the manpage cites 1.3.0? I have a feeling they may be talking about a different libini, because even in mantic, libini-config5 is just at 0.6.2-1.