On Thu, 25 Feb 2021 13:30:40 +0100 Harald Dunkel <harald.dun...@aixigo.com>
wrote:
> On Mon, 22 Feb 2021 20:00:33 +0100 Michael Biebl <bi...@debian.org> wrote:
> > Am 22.02.2021 um 18:57 schrieb Harald Dunkel:
> > > Sorry to say, but this is not a fix. A fix would avoid the race
> > > condition, no matter whats written in the config files.
> > > 
> > > Your "fix" is just a workaround. If I add
> > 
> > If you have a better solution, I'm all ears.
> > 
> > 
> 
> My favorite workaround is to kick out the delaycompress, see
> https://bugs.debian.org/720096#130.

I still fail to see a convincing explanation, why that would fix this issue.

> A clean solution would have to delay sending a SIGHUP to rsyslog,
> until *all* rsyslog logfiles have been processed by logrotate,
> regardless in which logrotate config file or "{ ... }" block they
> are mentioned. Some kind of global "sharedscripts" option.


We basically have a "global sharedscripts" option now, because all log rules
have been merged into one (*). 

To this date, I've been unable to reproduce the issue, which makes this
really hard to debug.

Michael


(*) that said, having such sharedscripts option would obviously be nice, but
that is something which needs to be fixed/implemented on the logrotate side.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to