Skip to content

*: Move all systemd service files from /lib to /usr

This is now the preferred location in Debian. See:

https://lintian.debian.org/tags/systemd-service-in-odd-location https://bugs.debian.org/992465 https://bugs.debian.org/987989 debian/debhelper@d70caa69 https://lists.debian.org/debian-devel/2021/08/msg00275.html

Tests:

  • Lintian no longer shows errors: E: freedombox: systemd-service-in-odd-location lib/.../calibre-server-freedombox.service

  • Comparing the old .deb and newly generated .deb with these changes. There are no differences in files in the directory /usr/lib/systemd. In the older .deb. /lib/systemd/ is empty. In the newer .deb /lib is not present.

  • After upgrading the deb from older version to a version these changes, services installed by the package are available. Services tweaked by the package have the changed configuration reflected as shown by systemctl show {service-name}.service.

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org

Edited by Sunil Mohan Adapa

Merge request reports

Loading