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:40] 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
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:63] 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
avahi 0.8-13 avahi-daemon/0.8-13+b2 warning maintainer-script-calls-systemctl [prerm:7] 9
avahi 0.8-13 avahi-daemon/0.8-13+b2 warning maintainer-script-calls-systemctl [postrm:7] 9
condor 23.6.2+dfsg-2 condor-annex-ec2/23.6.2+dfsg-2 warning maintainer-script-calls-systemctl [postinst:9] 9
condor 23.6.2+dfsg-2 minicondor/23.6.2+dfsg-2 warning maintainer-script-calls-systemctl [postinst:13] 9
condor 23.6.2+dfsg-2 minicondor/23.6.2+dfsg-2 warning maintainer-script-calls-systemctl [postinst:14] 9
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] 9
dbus-broker 36-1 dbus-broker/36-1 overridden maintainer-script-calls-systemctl [postinst:49] 9
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 warning maintainer-script-calls-systemctl [prerm:12] 9
keystone 2:26.0.0-1 keystone/2:26.0.0-1 warning maintainer-script-calls-systemctl [postinst:1341] 1
knot-resolver 5.7.4-2 knot-resolver/5.7.4-2+b1 warning maintainer-script-calls-systemctl [preinst:14] 6
linux 6.11.2-1 hyperv-daemons/6.11.2-1 overridden maintainer-script-calls-systemctl [preinst:11] 3
linux 6.11.2-1 hyperv-daemons/6.11.2-1 overridden maintainer-script-calls-systemctl [postinst:11] 3
open-iscsi 2.1.10-1 open-iscsi/2.1.10-1 warning maintainer-script-calls-systemctl [postinst:116] 9
openssh 1:9.9p1-1 openssh-server/1:9.9p1-1 warning maintainer-script-calls-systemctl [postinst:117] 9
openssh 1:9.9p1-1 openssh-server/1:9.9p1-1 warning maintainer-script-calls-systemctl [postinst:116] 9
pam 1.5.3-7 libpam0g/1.5.3-7 overridden maintainer-script-calls-systemctl [postinst:57] 9
pcp 6.3.1-1 pcp/6.3.1-1 warning maintainer-script-calls-systemctl [prerm:46] 7
pcp 6.3.1-1 pcp/6.3.1-1 warning maintainer-script-calls-systemctl [postinst:237] 7
pcp 6.3.1-1 pcp/6.3.1-1 warning maintainer-script-calls-systemctl [postinst:291] 7
pcp 6.3.1-1 pcp/6.3.1-1 warning maintainer-script-calls-systemctl [postrm:139] 7
pcp 6.3.1-1 pcp/6.3.1-1 warning maintainer-script-calls-systemctl [prerm:47] 7
pcp 6.3.1-1 pcp/6.3.1-1 warning maintainer-script-calls-systemctl [prerm:14] 7
pcp 6.3.1-1 pcp/6.3.1-1 warning maintainer-script-calls-systemctl [postinst:290] 7
pcp 6.3.1-1 pcp/6.3.1-1 warning maintainer-script-calls-systemctl [postinst:289] 7
pk4 5+nmu1 pk4/5+nmu1+b2 overridden maintainer-script-calls-systemctl [postinst:7] 9
rabbitmq-server 3.10.8-3 rabbitmq-server/3.10.8-3 warning maintainer-script-calls-systemctl [postinst:48] 1
rabbitmq-server 3.12.1-1.1 rabbitmq-server/3.12.1-1.1 warning maintainer-script-calls-systemctl [postinst:48] 1
rsyslog 8.2408.0-2 rsyslog/8.2408.0-2 warning maintainer-script-calls-systemctl [prerm:7] 9
samba 2:4.21.0+dfsg-1 samba/2:4.21.0+dfsg-1 warning maintainer-script-calls-systemctl [postinst:87] 9
snapd 2.65.3-1 snapd/2.65.3-1 overridden maintainer-script-calls-systemctl [postrm:9] 8
snapd 2.65.3-1 snapd/2.65.3-1 overridden maintainer-script-calls-systemctl [prerm:9] 8
systemd 256.6-1 systemd/256.6-1 overridden maintainer-script-calls-systemctl [postinst:53] 9
systemd 256.6-1 systemd/256.6-1 overridden maintainer-script-calls-systemctl [postinst:7] 9
systemd 256.6-1 systemd/256.6-1 overridden maintainer-script-calls-systemctl [postinst:52] 9
systemd 256.6-1 systemd/256.6-1 overridden maintainer-script-calls-systemctl [postinst:54] 9
systemd 256.6-1 systemd-coredump/256.6-1 overridden maintainer-script-calls-systemctl [prerm:11] 9
systemd 256.6-1 systemd-oomd/256.6-1 overridden maintainer-script-calls-systemctl [postinst:71] 9
unattended-upgrades 2.11+nmu1 unattended-upgrades/2.11+nmu1 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