]> git.ipfire.org Git - thirdparty/systemd.git/commit
wait-online: improve timeout log message
authorLennart Poettering <lennart@poettering.net>
Fri, 2 Jul 2021 07:53:16 +0000 (09:53 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 2 Jul 2021 11:56:59 +0000 (13:56 +0200)
commit01cf6bacd95a3c23aa0d2fe3f82a4a02ddb1cee3
tree91787bf649b0650a1c9ea825487acc6f9f1b2afc
parent2167d8086daadde1bc104f91212661d2d9b2d69e
wait-online: improve timeout log message

The time-out when waiting to reach the online state is a pretty
regularly seen error, let's print an explicit log message for it. The
previous "Event loop failed: timed out" message is a bit too low-level I
think for regular users (as event loops are a developer's concept, not a
user's, really).

Note that outputting low-level error messages is generally actually OK I
think — for unexpected errors, but this timeout is a pretty expected one,
directly configurable by the user, hence output something friendly.
src/network/wait-online/wait-online.c