From c82d32f8e6993f83ddda35dd1a2152eca8188408 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 1 Apr 2019 15:56:52 -0700 Subject: [PATCH] rsyslog: Don't disable systemd StartLimit It is undesirable to have a service restart continually forever if it gets stuck in a failure loop. This workaround was added due to "RestartUnit" being ignored if the rsyslog unit had already failed. A fix to the "RestartUnit" logic has been added, so that the StartLimit is reset after a configuration change but before calling "RestartUnit". This will ensure restarts are reliable after configuration change, but we don't have rsyslog trying to restart indefinitely. Change-Id: I8d2d8ec3b2c5b024dbf8e7cda6089e398a819c96 Signed-off-by: William A. Kennington III --- recipes-extended/rsyslog/files/rsyslog-override.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes-extended/rsyslog/files/rsyslog-override.conf b/recipes-extended/rsyslog/files/rsyslog-override.conf index faeeae0c4..458f52f27 100644 --- a/recipes-extended/rsyslog/files/rsyslog-override.conf +++ b/recipes-extended/rsyslog/files/rsyslog-override.conf @@ -1,6 +1,3 @@ [Unit] -# This service is restarted when an rsyslog property is set, so -# disable rate limiting to allow it to always be restarted. -StartLimitIntervalSec=0 # This file exists only if remote logging has been configured ConditionPathExists=/etc/rsyslog.d/server.conf