From 8075b49267612d83725151bf7f6c67448ee7dea877d2fe45b369ef5efd2b5bcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=98=D0=BD=D0=B4=D0=B8=D0=B3?= =?UTF-8?q?=D0=BE?= Date: Wed, 16 Jun 2021 13:39:51 +0000 Subject: [PATCH] Accepting request 900388 from home:fschnizlein:branches:server:http Fix race condition between nginx and logrotate causing mass reopening of files (bsc#1183876). OBS-URL: https://build.opensuse.org/request/show/900388 OBS-URL: https://build.opensuse.org/package/show/server:http/nginx?expand=0&rev=209 --- nginx.changes | 6 ++++++ nginx.logrotate | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/nginx.changes b/nginx.changes index cc1d8d9..296dee5 100644 --- a/nginx.changes +++ b/nginx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 16 13:13:12 UTC 2021 - Felix Schnizlein + +- Fix race condition between nginx and logrotate causing mass reopening of + files (bsc#1183876). + ------------------------------------------------------------------- Thu May 27 16:35:26 UTC 2021 - Dirk Müller diff --git a/nginx.logrotate b/nginx.logrotate index 7281a1b..5ca17a5 100644 --- a/nginx.logrotate +++ b/nginx.logrotate @@ -6,8 +6,8 @@ size=+4096k missingok notifempty - create 644 root root - postrotate + delaycompress + lastaction # -s reopen will use the pid file passed in the config file or the compiled in default path /usr/sbin/nginx -s reopen endscript