From: Lennart Poettering Date: Mon, 27 Feb 2023 14:42:59 +0000 (+0100) Subject: journald: upgrade log message about missing mmap() support to LOG_ERR X-Git-Tag: v254-rc1~1148^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8253cb35fa8343c1e2eee4f71256384b3cd9b270;p=thirdparty%2Fsystemd.git journald: upgrade log message about missing mmap() support to LOG_ERR in this case we really cannot proceed and fail. Let's log about this loudly, since we simply fail the operation to write anything. --- diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 87dfd55f001..1c7372e6285 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -890,7 +890,7 @@ static bool shall_try_append_again(JournalFile *f, int r) { return true; case -EAFNOSUPPORT: - log_ratelimit_warning(JOURNAL_LOG_RATELIMIT, "%s: Underlying file system does not support memory mapping or another required file system feature.", f->path); + log_ratelimit_error(JOURNAL_LOG_RATELIMIT, "%s: Underlying file system does not support memory mapping or another required file system feature.", f->path); return false; default: