]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/transaction.c
pid1: when showing error status, do not switch to status=temporary
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 29 Feb 2020 16:19:46 +0000 (17:19 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 1 Mar 2020 10:42:42 +0000 (11:42 +0100)
commit5bcf34ebf3033352cbfcad1a954cb8c11526e401
tree92ae44adfcfeb9f7991f06712562d6a8131b9deb
parent1b4154a8919c2a28964a4fe42b8875ba25e6a355
pid1: when showing error status, do not switch to status=temporary

We would flip to status=temporary mode on the first error, and then switch back
to status=auto after the initial transaction was done. This isn't very useful,
because usually all the messages about successfully started units and not
related to the original failure. In fact, all those messages most likely cause
the information about the prime error to scroll off screen. And if the user
requested quiet boot, there's no reason to think that they care about those
success messages.

Also, when logging about dependency cycles, treat this similarly to a unit
error and show the message even if the status is "soft disabled" (before we
wouldn't show it in that case).
man/systemd.xml
src/core/job.c
src/core/manager.c
src/core/manager.h
src/core/transaction.c
src/core/unit.c
src/core/unit.h