From fe1f8c1acdbcc098a6fbafcea02d24ddee1a8ccc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 Nov 2025 09:01:58 +0100 Subject: [PATCH] run: support RootMStack= on the client side for systemd-run --- src/run/run.c | 2 +- src/shared/bus-unit-util.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/run/run.c b/src/run/run.c index 04e643b209c..e614f27c288 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -3053,7 +3053,7 @@ static bool shall_make_executable_absolute(void) { if (!arg_root_directory && running_in_chroot() > 0) return false; - FOREACH_STRING(f, "RootDirectory=", "RootImage=", "ExecSearchPath=", "MountImages=", "ExtensionImages=") + FOREACH_STRING(f, "RootDirectory=", "RootImage=", "RootMStack=", "ExecSearchPath=", "MountImages=", "ExtensionImages=") if (strv_find_startswith(arg_property, f)) return false; diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index 057a89b8abe..84de3478a7f 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -2468,6 +2468,7 @@ static const BusProperty execute_properties[] = { { "SELinuxContext", bus_append_string }, { "RootImage", bus_append_string }, { "RootVerity", bus_append_string }, + { "RootMStack", bus_append_string }, { "RuntimeDirectoryPreserve", bus_append_string }, { "Personality", bus_append_string }, { "KeyringMode", bus_append_string }, -- 2.47.3