diff mbox series

[meta-oe] openct: Fix openct.service waring

Message ID 20260326090850.6525-1-zhengrq.fnst@fujitsu.com
State New
Headers show
Series [meta-oe] openct: Fix openct.service waring | expand

Commit Message

Zheng Ruoqin March 26, 2026, 9:08 a.m. UTC
Fix following system unsafe waring

/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 <zhengrq.fnst@fujitsu.com>
---
 meta-oe/recipes-support/openct/openct/openct.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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