Am 20.05.2021 um 06:07 schrieb UN-pi:
The actual situation is today the same than yesterday.
The system is writing to the old files.
using a
systemctl kill -s HUP --kill-who=main rsyslog.service
didn't help.
Ok, that is good, I guess. I would have been suprised if it
--kill-who=main would have made a difference.
The system was still writing to the old syslog.1-file while the new
syslog content's kern.log messages.
Only a
pkill -HUP rsyslogd
helped.
I think what you see here is a race condition (i.e. another instance of
#720096) and pkill probably slightly changes the timing of how the HUP
signal is delivered.
I suppose
https://salsa.debian.org/debian/rsyslog/-/commit/651236c2319eb0ca13fd1d376eaf239a6dcd5c49
would help as well in you case.
Michael