On Wed, 5 May 2021 18:39:53 +0200 Vincent Lefevre <vinc...@vinc17.net> wrote:
On 2021-05-05 15:46:17 +0200, Michael Biebl wrote:
> Unfortunately this is not a good idea and we actually went the other way
> just recently.
> For some background see #720096
> > If there was a way to issue a single postrotate after all log files have
> been processed, then we could split the rules up. But unfortunately ttbomk
> logrotate doesn't provide such a facility.

This issue needs to be fixed anyway. If logrotate doesn't provide such
a facility, the fix could be done in rsyslog via a locking mechanism
to avoid the race (the /usr/lib/rsyslog/rsyslog-rotate script would
hold the lock until it knows that the SIGHUP has been processed).

Let's close this issue at this point. I don't think there is any benefit in keeping it open unless we have such an interface which allows for a race-free reload.

If you are interested in that, please get in touch with rsyslog upstream and work with them on a solution. Once such an interface is available, we can reopen this bug report.

Regards,
Michael

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to