Am 19.08.2021 um 06:18 schrieb Theodore Ts'o:
There appears to be a rather major regression in debhelper 1.13.4 and
1.13.4nmu1, which is forcing unit files to go in
/usr/lib/systemd/system, instead of /lib/systemd/systemd (where sytemd
will actually pay attention to them).
Installing those files in /usr/lib/systemd/system is fine.
systemd itself will handle them just as well as when they are installed
in /lib/systemd/system (see systemd-analyze unit-paths).
It's our own tooling (debhelper, i-s-h, lintian) which preferred a
single path, i.e. /lib/systemd/system.
I wanted to get debhelper updated anyway in the bookworm release cycle
to prefer /usr/lib/systemd/system over /lib/systemd/system, but
obviously this should have happened in a more orderly fashion, i.e.
lintian would have been updated first.
I'll check later today, if i-s-h (init-system-helpers) does properly
handle this new path. If so, I'd say the bug should be reassigned to
lintian and we should start transitioning the files to
/usr/lib/systemd/system.
Michael