Lintian tag: maintainer-script-calls-systemctl

Type: warning

Description (from lintian-explain-tags)

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
Show-Always: no
Check: maintainer-scripts/systemctl

Affected packages

source version binary tag type tag information count
amazon-ec2-net-utils 2.4.1-2 amazon-ec2-net-utils/2.4.1-2 warning maintainer-script-calls-systemctl [postinst:63] 1
amazon-ec2-net-utils 2.4.1-2 amazon-ec2-net-utils/2.4.1-2 warning maintainer-script-calls-systemctl [postinst:51] 1
amazon-ec2-net-utils 2.4.1-2 amazon-ec2-net-utils/2.4.1-2 warning maintainer-script-calls-systemctl [postinst:40] 1
amazon-ec2-net-utils 2.4.1-2 amazon-ec2-net-utils/2.4.1-2 warning maintainer-script-calls-systemctl [postinst:39] 1
amazon-ec2-net-utils 2.4.1-2 amazon-ec2-net-utils/2.4.1-2 warning maintainer-script-calls-systemctl [postinst:66] 1
amazon-ec2-net-utils 2.4.1-2 amazon-ec2-net-utils/2.4.1-2 warning maintainer-script-calls-systemctl [postinst:53] 1
avahi 0.8-16 avahi-daemon/0.8-16 warning maintainer-script-calls-systemctl [prerm:7] 9
avahi 0.8-16 avahi-daemon/0.8-16 warning maintainer-script-calls-systemctl [postrm:7] 9
condor 23.6.2+dfsg-2 condor-annex-ec2/23.6.2+dfsg-2+b1 warning maintainer-script-calls-systemctl [postinst:9] 8
condor 23.6.2+dfsg-2 condor-annex-ec2/23.6.2+dfsg-2+b2 warning maintainer-script-calls-systemctl [postinst:9] 1
condor 23.6.2+dfsg-2 minicondor/23.6.2+dfsg-2+b1 warning maintainer-script-calls-systemctl [postinst:13] 8
condor 23.6.2+dfsg-2 minicondor/23.6.2+dfsg-2+b1 warning maintainer-script-calls-systemctl [postinst:14] 8
condor 23.6.2+dfsg-2 minicondor/23.6.2+dfsg-2+b2 warning maintainer-script-calls-systemctl [postinst:14] 1
condor 23.6.2+dfsg-2 minicondor/23.6.2+dfsg-2+b2 warning maintainer-script-calls-systemctl [postinst:13] 1
corekeeper 1.7 corekeeper/1.7 overridden maintainer-script-calls-systemctl [postrm:12] 8
corekeeper 1.7 corekeeper/1.7+b1 overridden maintainer-script-calls-systemctl [postrm:12] 1
dbus-broker 36-1 dbus-broker/36-1 overridden maintainer-script-calls-systemctl [postinst:22] 8
dbus-broker 36-1 dbus-broker/36-1 overridden maintainer-script-calls-systemctl [postinst:49] 8
dbus-broker 36-1 dbus-broker/36-1+b1 overridden maintainer-script-calls-systemctl [postinst:22] 1
dbus-broker 36-1 dbus-broker/36-1+b1 overridden maintainer-script-calls-systemctl [postinst:49] 1
debci 3.10 debci-worker/3.10 warning maintainer-script-calls-systemctl [postinst:12] 1
gpm 1.20.7-11 gpm/1.20.7-11+b2 warning maintainer-script-calls-systemctl [prerm:12] 9
keystone 2:26.0.0-4 keystone/2:26.0.0-4 warning maintainer-script-calls-systemctl [postinst:1345] 1
knot-resolver 5.7.4-2 knot-resolver/5.7.4-2+b1 warning maintainer-script-calls-systemctl [preinst:14] 6
linux 6.12.11-1 hyperv-daemons/6.12.11-1 overridden maintainer-script-calls-systemctl [preinst:11] 3
linux 6.12.11-1 hyperv-daemons/6.12.11-1 overridden maintainer-script-calls-systemctl [postinst:11] 3
linux 6.13~rc7-1~exp1 hyperv-daemons/6.13~rc7-1~exp1 overridden maintainer-script-calls-systemctl [postinst:11] 3
linux 6.13~rc7-1~exp1 hyperv-daemons/6.13~rc7-1~exp1 overridden maintainer-script-calls-systemctl [preinst:11] 3
open-iscsi 2.1.10-3 open-iscsi/2.1.10-3 warning maintainer-script-calls-systemctl [postinst:122] 9
openssh 1:9.9p1-3 openssh-server/1:9.9p1-3 warning maintainer-script-calls-systemctl [postinst:116] 9
openssh 1:9.9p1-3 openssh-server/1:9.9p1-3 warning maintainer-script-calls-systemctl [postinst:117] 9
pam 1.5.3-7 libpam0g/1.5.3-7+b1 overridden maintainer-script-calls-systemctl [postinst:57] 9
pam 1.7.0-1 libpam0g/1.7.0-1 overridden maintainer-script-calls-systemctl [postinst:57] 9
pcp 6.3.3-1 pcp/6.3.3-1 warning maintainer-script-calls-systemctl [prerm:14] 6
pcp 6.3.3-1 pcp/6.3.3-1 warning maintainer-script-calls-systemctl [prerm:47] 6
pcp 6.3.3-1 pcp/6.3.3-1 warning maintainer-script-calls-systemctl [postinst:291] 6
pcp 6.3.3-1 pcp/6.3.3-1 warning maintainer-script-calls-systemctl [postinst:237] 6
pcp 6.3.3-1 pcp/6.3.3-1 warning maintainer-script-calls-systemctl [prerm:46] 6
pcp 6.3.3-1 pcp/6.3.3-1 warning maintainer-script-calls-systemctl [postrm:139] 6
pcp 6.3.3-1 pcp/6.3.3-1 warning maintainer-script-calls-systemctl [postinst:289] 6
pcp 6.3.3-1 pcp/6.3.3-1 warning maintainer-script-calls-systemctl [postinst:290] 6
pk4 5+nmu1 pk4/5+nmu1+b4 overridden maintainer-script-calls-systemctl [postinst:7] 9
portsentry 1.2-16 portsentry/1.2-16 warning maintainer-script-calls-systemctl [postinst:66] 9
rabbitmq-server 4.0.5-2 rabbitmq-server/4.0.5-2 warning maintainer-script-calls-systemctl [postinst:48] 1
rsyslog 8.2412.0-1 rsyslog/8.2412.0-1 warning maintainer-script-calls-systemctl [prerm:7] 9
samba 2:4.21.3+dfsg-6 samba/2:4.21.3+dfsg-6+b1 warning maintainer-script-calls-systemctl [postinst:70] 9
systemd 257.2-3 systemd/257.2-3 overridden maintainer-script-calls-systemctl [postinst:64] 9
systemd 257.2-3 systemd/257.2-3 overridden maintainer-script-calls-systemctl [postinst:63] 9
systemd 257.2-3 systemd/257.2-3 overridden maintainer-script-calls-systemctl [postinst:7] 9
systemd 257.2-3 systemd/257.2-3 overridden maintainer-script-calls-systemctl [postinst:65] 9
systemd 257.2-3 systemd-coredump/257.2-3 overridden maintainer-script-calls-systemctl [prerm:11] 9
systemd 257.2-3 systemd-oomd/257.2-3 overridden maintainer-script-calls-systemctl [postinst:71] 9
unattended-upgrades 2.12 unattended-upgrades/2.12 overridden maintainer-script-calls-systemctl [postinst:158] 1
wpa 2:2.10-22 hostapd/2:2.10-22 overridden maintainer-script-calls-systemctl [postrm:7] 9
wpa 2:2.10-22 hostapd/2:2.10-22 overridden maintainer-script-calls-systemctl [postinst:58] 9