From 947d836a6e86f1936250ff8e3c67fa33b92a597f Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 18 Jul 2023 15:48:59 +0100 Subject: [PATCH] man: explicitly note that units surviving soft-reboot should not pin resources --- man/systemd-soft-reboot.service.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man/systemd-soft-reboot.service.xml b/man/systemd-soft-reboot.service.xml index f2bbd814684..5960cf90a6c 100644 --- a/man/systemd-soft-reboot.service.xml +++ b/man/systemd-soft-reboot.service.xml @@ -119,7 +119,9 @@ processes running during a soft-reboot operation requires disconnecting the service comprehensively from the rest of the OS, i.e. minimizing IPC and reducing sharing of resources with the rest of the OS. A possible mechanism to achieve this is the concept of Portable Services. + url="https://systemd.io/PORTABLE_SERVICES">Portable Services, but make sure no resource from + the host's root filesystem is pinned via BindPaths= or similar unit settings, + otherwise the old root filesystem will be kept in memory as long as the unit is running. If units shall be left running until the very end of shutdown during a soft reboot operation, but shall be terminated regularly during other forms of shutdown, it's recommended to set