diff options
-rw-r--r-- | src/journal/journald-server.c | 1 | ||||
-rw-r--r-- | src/journal/managed-journal-file.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 47f1d8b504..1763a2556e 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -866,6 +866,7 @@ static bool shall_try_append_again(JournalFile *f, int r) { case -EBADMSG: /* Corrupted */ case -ENODATA: /* Truncated */ case -ESHUTDOWN: /* Already archived */ + case -EADDRNOTAVAIL: /* Referenced object offset out of bounds */ log_ratelimit_info_errno(r, JOURNAL_LOG_RATELIMIT, "%s: Journal file corrupted, rotating.", f->path); return true; diff --git a/src/journal/managed-journal-file.c b/src/journal/managed-journal-file.c index 37d41f0678..9b1fe30747 100644 --- a/src/journal/managed-journal-file.c +++ b/src/journal/managed-journal-file.c @@ -537,6 +537,7 @@ int managed_journal_file_open_reliably( ret); if (!IN_SET(r, -EBADMSG, /* Corrupted */ + -EADDRNOTAVAIL, /* Referenced object offset out of bounds */ -ENODATA, /* Truncated */ -EHOSTDOWN, /* Other machine */ -EPROTONOSUPPORT, /* Incompatible feature */ |