From fd9b9ebf1e9f6213b24d8cf392e07815402b36eb Mon Sep 17 00:00:00 2001 From: Jarrod Smith Date: Wed, 9 Dec 2020 20:42:21 +0000 Subject: [PATCH] Comment out errant/noisy kernel logging in /etc/rsyslogd --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6daa41f3..f9359f8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -222,7 +222,7 @@ RUN sed -i -r "/^#?compress/c\compress\ncopytruncate" /etc/logrotate.conf && \ sed -i -e 's/^\(POLICYHELPER=\).*/\1/' /usr/sbin/invoke-rc.d && \ # Prevent syslog warning about imklog permissions. # We won't want to look at that inside a container anyway. - sed -i -e 's/^module\(load="imklog"\)/#module\(load="imklog"\)/' /etc/rsyslog.conf && \ + sed -i -e 's/^module(load=\"imklog\")/#module(load=\"imklog\")/' /etc/rsyslog.conf && \ # prevent email when /sbin/init or init system is not existing \ sed -i -e 's|invoke-rc.d rsyslog rotate > /dev/null|/usr/bin/supervisorctl signal hup rsyslog >/dev/null|g' /usr/lib/rsyslog/rsyslog-rotate