Package: systemd
Version: 247.9-2+b1
Severity: normal

$ pkg-config --variable systemd_system_unit_dir systemd
/lib/systemd/system

This should be /usr/lib/systemd/system instead.  debhelper and lintian
now use/expect this path.  See:
  lintian-explain-tags systemd-service-in-odd-location
which references:
  * Bug#992465
  * Bug#987989
* https://salsa.debian.org/debian/debhelper/-/commit/d70caa69c64b124e3611c967cfab93aef48346d8
  * https://lists.debian.org/debian-devel/2021/08/msg00275.html

I am the maintainer for ntpsec.  Upstream ntpsec uses pkg-config to
determine the proper path for unit files, because historically RedHat
and Debian differed.  If Debian now wants to prefer
/usr/lib/systemd/system over /lib/systemd/system, then the installed
systemd.pc file should be adjusted accordingly.

--
Richard

Reply via email to