From 4cff5e4572c02deffced1917bfbd56b443580581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 29 Nov 2024 01:21:02 +0100 Subject: [PATCH] tools/toolbox: Work around systemd issue systemd-sysext currently messes up SElinux labeling[0]. As a workaround, we can delegate to the systemd-sysext service that doesn't exercise the same issue. [0] https://github.com/systemd/systemd/issues/34387 Part-of: --- tools/toolbox/toolbox-sysext-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/toolbox/toolbox-sysext-install.sh b/tools/toolbox/toolbox-sysext-install.sh index 0ff3b659a..6310fb00e 100755 --- a/tools/toolbox/toolbox-sysext-install.sh +++ b/tools/toolbox/toolbox-sysext-install.sh @@ -64,7 +64,9 @@ install_command() { } sysext_merge_command() { - echo -n systemd-sysext refresh + #echo -n systemd-sysext refresh + # workaround for https://github.com/systemd/systemd/issues/34387 + echo -n systemctl restart systemd-sysext.service } compile_schemas_command() {