Lintian tag: systemd-service-in-odd-location

Type: error

Description (from lintian-explain-tags)

The package ships a systemd service file in a location outside
/usr/lib/systemd/system/

Systemd in Debian looks for unit files in /usr/lib/systemd/system/.
/lib/systemd/system/ and /etc/systemd/system, but the first location is
now standard in Debian.

System administrators have the possibility to override service files (or
in newer systemd versions, parts of them) by placing files in
/etc/systemd/system. The canonical location for service files in Debian is
/usr/lib/systemd/system/.

Please refer to Bug#992465, Bug#987989,
https://salsa.debian.org/debian/debhelper/-/commit/d70caa69c64b124e3611c967cfab93aef48346d8,
and https://lists.debian.org/debian-devel/2021/08/msg00275.html for
details.

Visibility: error
Show-Always: no
Check: systemd

Affected packages

source version binary tag type tag information count