#1003647 openafs-client.service uses deprecated KillMode=none

Package:
openafs-client
Source:
openafs
Description:
AFS distributed filesystem client support
Submitter:
Sergio Gelato
Date:
2022-01-13 08:57:04 UTC
Severity:
normal
#1003647#5
Date:
2022-01-13 08:55:40 UTC
From:
To:
(Still unfixed on salsa.debian.org as far as I can tell.)

On a bullseye system, systemd[1] now issues the following warning:

systemd[1]: /lib/systemd/system/openafs-client.service:22: 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.

I don't know what the timescale is for removing KillMode=none, but one may want
to start exploring alternatives. (Perhaps KillMode=mixed with SendSIGKILL=no ?
There may be better solutions, though.)