]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: raise the log priority if sd-executor is missing
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 22 Jan 2024 13:15:31 +0000 (14:15 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 22 Jan 2024 21:58:41 +0000 (21:58 +0000)
commit00fafa1a17c03bb6a4e58a9187ef5235e316766e
tree90dc82ca07b8866122fb56dd5d512b6edda2ec47
parent4b1a02d86612793db69421c852adb86f17770c82
core: raise the log priority if sd-executor is missing

Log about missing executor at the emergency level, so the message always
makes it to the console - otherwise it won't get anywhere, since we
can't even start systemd-journald in that case.

Before:

Welcome to Arch Linux!

[    5.202479] systemd[1]: Failed to allocate manager object: No such file or directory
[!!!!!!] Failed to allocate manager object.
[    5.207741] systemd[1]: Freezing execution.

After:

Welcome to Arch Linux!

[    5.279408] systemd[1]: Failed to open executor binary '/usr/lib/systemd/systemd-executor': No such file or directory
[    5.290756] systemd[1]: Failed to allocate manager object: No such file or directory
[!!!!!!] Failed to allocate manager object.
[    5.295919] systemd[1]: Freezing execution.
src/core/manager.c