From 8028f542e4565030dc5782a710815d48b3420d75 Mon Sep 17 00:00:00 2001 From: Zheng Ruoqin Date: Thu, 26 Mar 2026 17:08:49 +0800 Subject: [PATCH] openct: Fix openct.service warning Fix following system unsafe warning /usr/lib/systemd/system/openct.service:10: Unit uses KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update the service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed. Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj --- meta-oe/recipes-support/openct/openct/openct.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/openct/openct/openct.service b/meta-oe/recipes-support/openct/openct/openct.service index c9ec497fa5..57de8c0a88 100644 --- a/meta-oe/recipes-support/openct/openct/openct.service +++ b/meta-oe/recipes-support/openct/openct/openct.service @@ -7,7 +7,7 @@ EnvironmentFile=-/etc/sysconfig/openct ExecStart=/usr/sbin/openct-control $OPENCT_OPTIONS init ExecStop=/usr/sbin/openct-control $OPENCT_OPTIONS shutdown RemainAfterExit=yes -KillMode=none +KillMode=mixed [Install] WantedBy=multi-user.target