From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] collectd: Do not sync Date: Tue, 30 Jan 2024 18:01:52 +0000 Message-ID: <20240130180152.4161491-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1587731024646190346==" List-Id: --===============1587731024646190346== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Calling a global sync operation manually is generally a bad idea as it can block for forever. If people have storage that does not retain anything that is being written to it, they need to fix their hardware. Signed-off-by: Michael Tremer --- src/initscripts/system/collectd | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/initscripts/system/collectd b/src/initscripts/system/collectd index bb8a2f54f..56b799d56 100644 --- a/src/initscripts/system/collectd +++ b/src/initscripts/system/collectd @@ -146,9 +146,6 @@ case "$1" in sed -i -e "s|^#LoadPlugin swap|LoadPlugin swap|g" /etc/collectd.conf fi - # sync after config update... - sync - if [ $(date +%Y) -gt 2011 ]; then boot_mesg "Starting Collection daemon..." /usr/sbin/collectd -C /etc/collectd.conf -- 2.39.2 --===============1587731024646190346==--