From 3ba5cb0faa010f2c7281404c1f1c8fe4ea0e657c Mon Sep 17 00:00:00 2001 From: Felix Kaechele Date: Mon, 18 Oct 2021 18:55:11 -0400 Subject: [PATCH] Fix "file size changed while zipping" when rotating logs (rhbz#1980948,2015249,2015243) Signed-off-by: Felix Kaechele --- nginx.logrotate | 1 + nginx.spec | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nginx.logrotate b/nginx.logrotate index 7462580..174c4ee 100644 --- a/nginx.logrotate +++ b/nginx.logrotate @@ -5,6 +5,7 @@ missingok notifempty compress + delaycompress sharedscripts postrotate /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true diff --git a/nginx.spec b/nginx.spec index 0804ac5..a92d020 100644 --- a/nginx.spec +++ b/nginx.spec @@ -41,7 +41,7 @@ Name: nginx Epoch: 1 Version: 1.20.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A high performance web server and reverse proxy server # BSD License (two clause) @@ -578,6 +578,9 @@ fi %changelog +* Mon Oct 18 2021 Felix Kaechele - 1:1.20.1-8 +- Fix "file size changed while zipping" when rotating logs (rhbz#1980948,2015249,2015243) + * Tue Sep 14 2021 Sahana Prasad - 1:1.20.1-7 - Rebuilt with OpenSSL 3.0.0