From: Luca Boccassi Date: Tue, 18 Jul 2023 14:48:59 +0000 (+0100) Subject: man: explicitly note that units surviving soft-reboot should not pin resources X-Git-Tag: v254-rc3~25^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=947d836a6e86f1936250ff8e3c67fa33b92a597f;p=thirdparty%2Fsystemd.git man: explicitly note that units surviving soft-reboot should not pin resources --- 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