From: Luca Boccassi Date: Fri, 21 Feb 2025 00:27:17 +0000 (+0000) Subject: exec-invoke: Use FORK_DETACH when forking off pid namespace child (#36446) X-Git-Tag: v258-rc1~1281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ae15816bd7e479f91377efc65d5f507343289c;p=thirdparty%2Fsystemd.git exec-invoke: Use FORK_DETACH when forking off pid namespace child (#36446) This ensures the child process is immediately re-parented to the manager process which avoids a "Supervising process xxx which is not our child. We'll most likely not notice when it exits." warning which can currently happen if the parent systemd-executor parent process sends the pid namespace child process pidref to the manager process and the manager process dispatches the child process pidref before the systemd-executor parent process exits, since at that point the pid namespace child process's parent will still be the systemd-executor parent process and not the manager process. --- 48ae15816bd7e479f91377efc65d5f507343289c