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
This commit is contained in:
Илья Индиго 2021-06-16 13:39:51 +00:00 committed by Git OBS Bridge
parent 2b80ff0988
commit 8075b49267
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 16 13:13:12 UTC 2021 - Felix Schnizlein <fschnizlein@suse.com>
- 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 <dmueller@suse.com> Thu May 27 16:35:26 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -6,8 +6,8 @@
size=+4096k size=+4096k
missingok missingok
notifempty notifempty
create 644 root root delaycompress
postrotate lastaction
# -s reopen will use the pid file passed in the config file or the compiled in default path # -s reopen will use the pid file passed in the config file or the compiled in default path
/usr/sbin/nginx -s reopen /usr/sbin/nginx -s reopen
endscript endscript