From e4330515e8b6c4517555c925dbfee4cfd0ee7ce6 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 5 Mar 2022 15:30:21 +0100 Subject: [PATCH] Disable KernLog in container No need to save seqno when we've detected being in container and have disabled kernel logging. Signed-off-by: Joachim Wiberg --- src/syslogd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/syslogd.c b/src/syslogd.c index f624eac..02d0718 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -501,6 +501,7 @@ int main(int argc, char *argv[]) */ if (KernLog) { if (in_container()) { + KernLog = 0; no_sys = 1; goto no_klogd; }