]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journald: upgrade log message about missing mmap() support to LOG_ERR
authorLennart Poettering <lennart@poettering.net>
Mon, 27 Feb 2023 14:42:59 +0000 (15:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Feb 2023 08:32:42 +0000 (09:32 +0100)
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

index 87dfd55f001b1eee1d4b69e5c6c400bca4c00467..1c7372e6285e0c7684382084e7882ec7b671ebe3 100644 (file)
@@ -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: