Discussion:
Bug#967047: plymouth-start.service: Unit configured to use KillMode=none
(too old to reply)
Christian Göttsche
2020-08-03 16:00:02 UTC
Permalink
Package: plymouth
Version: 0.9.4-3
File: /lib/systemd/system/plymouth-start.service

systemd v246 complains about the plymouth-start service configuration
via a syslog warning:

Aug 03 17:40:48 dlaptop systemd[1]:
/lib/systemd/system/plymouth-start.service:16: Unit configured to use
KillMode=none. This is unsafe, as it disables systemd's process
lifecycle management for the service. Please update your service to
use a safer KillMode=, such as 'mixed' or 'control-group'. Support for
KillMode=none is deprecated and will eventually be removed.
Philip Stewart
2021-02-27 15:50:01 UTC
Permalink
Hi,

Unsure whether there is any appetite to merge this for bullseye, but
the fix for this has been merged upstream:
https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/122

For what it's worth, I've implemented the changes locally and haven't
observed any ill effects in doing so, e.g. flickering during boot.

Cheers,
Phil
Faustin Lammler
2021-04-30 15:30:02 UTC
Permalink
Hi,
FYI, I hit this bug by trying to verify a systemd unit file.

| systemd-analyze verify docker.service
| /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.

Here is the MR:
https://salsa.debian.org/debian/plymouth/-/merge_requests/3

Cheers!

--
Faustin Lammler
GPG: F652 BCD1 1AA8 8975 F010 48A5 390A 2F27 832A 5C79
Antoine Beaupre
2021-08-30 00:30:01 UTC
Permalink
Package: plymouth
Version: 0.9.5-3
Followup-For: Bug #967047
https://salsa.debian.org/debian/plymouth/-/merge_requests/3

LGTM. Any reason why this isn't merged? Upstream adopted it, although
not on both units and they also used:

IgnoreOnIsolate=true

-- System Information:
Debian Release: 11.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plymouth depends on:
ii init-system-helpers 1.60
ii initramfs-tools 0.140
ii libc6 2.31-13
ii libdrm2 2.4.104-1
ii libplymouth5 0.9.5-3
ii lsb-base 11.1.0
ii systemd 247.3-6
ii udev 247.3-6

plymouth recommends no packages.

Versions of packages plymouth suggests:
ii desktop-base 11.0.3
ii plymouth-themes 0.9.5-3

-- no debconf information

Loading...