Bug#858588: lintian: classification tag for missing systemd units
Package: lintian
Version: 2.5.50.1
Severity: wishlist
Hi,
In <2af5949a-7683-b668-0a96-e4f85f4fac4f@dogguy.org>, Mehdi mentioned
"All packages with daemons provide a unit file for SystemD" as a
possible idea for the roadmap.
it seems that lintian is not able to track this yet, because
https://lintian.debian.org/tags/systemd-no-service-for-init-script.html
only applies to packages that already ship another service file.
The relevant code is:
# Only tag if the maintainer of this package did any effort to
# make the package work with systemd.
tag 'systemd-no-service-for-init-script', $basename
if (%{$services} and not $services->{$servicename});
# rcS scripts are particularly bad, warn even if there is
# no systemd integration
tag 'systemd-no-service-for-init-rcS-script', $basename
if (not $services->{$servicename} and $is_rcs_script);
return;
It would be great to add a classification tag in the case where
no service file is provided for an init script, even if the maintainer
did not make any other effort to make the package work with systemd.
Lucas
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (400, 'stable'), (300, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lintian depends on:
ii binutils 2.27.90.20170124-2
ii bzip2 1.0.6-8.1
ii diffstat 1.61-1+b1
ii file 1:5.29-3
ii gettext 0.19.8.1-2
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.30
ii libarchive-zip-perl 1.59-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-2+b1
ii libdpkg-perl 1.18.23
ii libemail-valid-perl 1.202-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.416-1+b1
ii libparse-debianchangelog-perl 1.2.0-12
ii libperl5.24 [libdigest-sha-perl] 5.24.1-1
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.71-1
ii libyaml-libyaml-perl 0.63-2
ii man-db 2.7.6.1-2
ii patchutils 0.3.4-2
ii perl 5.24.1-1
ii t1utils 1.39-2
ii xz-utils 5.2.2-1.2+b1
Versions of packages lintian recommends:
ii dpkg 1.18.23
ii libperlio-gzip-perl 0.19-1+b2
ii perl 5.24.1-1
ii perl-modules-5.24 [libautodie-perl] 5.24.1-1
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.18.23
ii libhtml-parser-perl 3.72-3
ii libtext-template-perl 1.46-1
-- no debconf information
Reply to: