:: Re: [DNG] Log rotation keeps rotate…
Etusivu
Poista viesti
Vastaa
Lähettäjä: kc-devuan
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Log rotation keeps rotated file open
21 May 2024 16:39:13 Dan Purgert via Dng <dng@???>:

> Check the configuration, as I recall those should have a postrotate
> script (/usr/lib/rsyslog/rsyslog-rotate) running to restart syslog.
>
> Config is /etc/logrotate.d/rsyslog here (pulled forward from Chimaera).


The postrotate config and script are present with the script running
invoke-rc.d rsyslog rotate > /dev/null

I am running runit. restarting rsyslog seemed to fix it. If it happens again then I will take a closer look.

Thanks