Bug#992624: systemd: logind.conf.d

Clint Adams clint at debian.org
Sun Aug 22 16:33:23 BST 2021


On Sun, Aug 22, 2021 at 10:56:34AM +0200, Michael Biebl wrote:
> Hm, I'm a bit torn on this. If we go this route, then in order to be
> consistent, we'd have to create a whole bunch of such directories, basically
> for all those files:

I understand the desire to be consistent, and I don't want to argue
for or against it, so I'll just talk about my experience.

On laptops I override HandleLidSwitchExternalPower (and sometimes
HandleLidSwitch).  Historically this has meant dealing with the
conffile handling question on every single update.  Seeing this
time that there is now a drop-in directory available means the
possibility that I can just put a file in there and never have
to answer that question again.

The lack of the directory makes me question whether I have the
path correct or if logind will actually look there.  I have gone
ahead and made the directory myself though, and placed a
lidswitch.conf therein, but if the directory had been there already
I would have just blindly assumed that it would work (probably even
if I had failed to name it with a ".conf" suffix).

So, is it worth it?  I don't know either.



More information about the Pkg-systemd-maintainers mailing list