]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/namespace-util: fix double logging after fork failure 35440/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 2 Dec 2024 10:25:53 +0000 (11:25 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 2 Dec 2024 10:51:23 +0000 (11:51 +0100)
commit22996a3393e10c3dce3137daf9fd6c5483d9a3b8
tree5fd17ffce4d30d4c21df241d70c64c6d3cd20cc8
parentafb368951cbe40214e56d3e546b22b1c9d3c1948
basic/namespace-util: fix double logging after fork failure

[   10.056930] (journald)[104]: Failed to fork off '(sd-mkuserns)': Invalid argument
[   10.063727] systemd[1]: systemd-modules-load.service: About to execute: /usr/lib/systemd/systemd-modules-load
[   10.071148] (journald)[104]: Failed to fork process (sd-mkuserns): Invalid argument

safe_fork_full() already logs at debug level, so the caller shouldn't.
src/basic/namespace-util.c