Lintian ReportsBETA

Wmaintainer-script-calls-systemctl

Tag versions

The tag is present in Lintian version 2.109.6. That is the most recent version we know about.

The maintainer script calls systemctl directly. Actions such as enabling a unit file should be done using deb-systemd-helper so that they work on machines with or without systemd. Starting a service should be done via invoke-rc.d if the service has a corresponding sysvinit script or deb-systemd-invoke if it does not.

If you are using debhelper, please use the systemd debhelper addon, which is provided by debhelper (>= 9.20160709~).

Please refer to https://wiki.debian.org/Teams/pkg-systemd/Packaging for details.

Visibility: warning

Check: maintainer-scripts/systemctl

The following 22 source packages in the archive triggered the tag 39 times.

We found 11 overrides. The tag performed 72% of the time.