From 8253cb35fa8343c1e2eee4f71256384b3cd9b270 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 27 Feb 2023 15:42:59 +0100 Subject: [PATCH] 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. --- src/journal/journald-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.3