From 67ecc2c7fe1fef7cd10cb4004349cb1976d44ce6 Mon Sep 17 00:00:00 2001 From: "maia x." Date: Thu, 22 Aug 2024 13:34:34 -0700 Subject: [PATCH] man: document confext reload behavior for ExtensionDirectories/Images --- man/systemd.exec.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 62c59308ef1..0c505c97adc 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -567,6 +567,17 @@ To disable the safety check that the extension-release file name matches the image file name, the x-systemd.relax-extension-release-check mount option may be appended. + This option can be used together with a service type and + systemd.v7 + to manage configuration updates. When such a service carrying confext images is reloaded via + systemctl reload foo.service or equivalent D-Bus method, the confext itself will + be reloaded to pick up any changes. This only applies to confext extensions. Note that in case a + service has this configuration enabled at first, and then it is subsequently removed in an update + followed by a daemon-reload operation, reloading the confexts will be a no-op, and a full service + restart is required instead. See + systemd.service5 + also for details. + When DevicePolicy= is set to closed or strict, or set to auto and DeviceAllow= is set, then this setting adds /dev/loop-control with rw mode, @@ -611,6 +622,17 @@ or the host. See: os-release5. + This option can be used together with a service type and + systemd.v7 + to manage configuration updates. When such a service carrying confext directories is reloaded via + systemctl reload foo.service or equivalent D-Bus method, the confext itself will + be reloaded to pick up any changes. This only applies to confext extensions. Note that in case a + service has this configuration enabled at first, and then it is subsequently removed in an update + followed by a daemon-reload operation, reloading the confexts will be a no-op, and a full service + restart is required instead. See + systemd.service5 + also for details. + Note that usage from user units requires overlayfs support in unprivileged user namespaces, which was first introduced in kernel v5.11. -- 2.47.3