[Pkg-sssd-devel] Bug#960672: Bug#960672: sssd: Update service file

Jörg Behrmann behrmann at physik.fu-berlin.de
Wed Jul 1 09:57:55 BST 2020


On 01.07.20 09:14, Timo Aaltonen wrote:
> I'm not doing this, instead I'll add DEBUG_LOGGER template to
> /etc/default/sssd and mention that DAEMON_OPTS is only used for the
> initscript.
> 

I would like to argue, that the total removal of the coupling of the
service file and /etc/defaults/sssd might be the better way forward.

The current state is that /etc/defaults/sssd has no effect on
sssd.service. I don't think it's a good idea to introduce it now, since
it's a hidden layer of configuration that cannot be accessed via
`systemctl cat`.

It's perfectly fine for init scripts to use /etc/defaults, as there is
no better mechanism to alter configuration, but for systemd unit files
drop-ins are far superior, since `systemctl cat` aggregates them,
shifting the burden of piecing together the configuration away from admins.

Furthermore, using drop-ins in /lib/systemd/system/sssd.service.d would
allow to carry Debian changes to the default config in files that could
be changed atomically on updates without interfering with locally
supplied changes.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-sssd-devel/attachments/20200701/4a6ea674/attachment.sig>


More information about the Pkg-sssd-devel mailing list