Bug#1031695: dh_installsystemd doesn't handle files in /usr/lib/systemd/system
Michael Biebl
biebl at debian.org
Mon Feb 20 18:16:49 GMT 2023
Package: debhelper
Version: 13.11.4
Severity: important
X-Debbugs-Cc: pkg-systemd-maintainers at lists.alioth.debian.org
It appears we currently ship 35 packages in unstable installing 78
service files to /usr/lib/systemd/system which dh_installsystemd doesn't
handle:
$ apt-file search -x ^/usr/lib/systemd/system | wc -l
78
$ apt-file search -x ^/usr/lib/systemd/system | cut -f1 -d':' | sort -u | wc -l
35
This means, those service files are not enabled and (re)started/stopped.
I suspect this is the result of the attempt last year, to move those
files to /usr where lintian warned for a while if files where installed
to /lib, so package maintainers started to update their packaging to
install in /usr instead.
I think dh_installsystemd should pick up files from
/usr/lib/systemd/system in list_installed_units() and then we could just
rebuild those packages.
The alternative is to update all those 35 packages and make sure they
install the files to /lib.
Michael
More information about the Pkg-systemd-maintainers
mailing list