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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3498>
This commit is contained in:
Florian Müllner 2024-11-29 01:21:02 +01:00 committed by Marge Bot
parent 4847d8bc95
commit 4cff5e4572

View File

@ -64,7 +64,9 @@ install_command() {
} }
sysext_merge_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() { compile_schemas_command() {