Hi, the chrony ntp daemon logs some information to /var/log/chrony (statistics etc.). By default they get never rotated. I attached a trivial config file for /etc/logrotate.d/ which change this behaviour. Regards Georg Sauthoff Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 68755 [details] chrony logrotate config file
Re-assign, maintainer is retired.
Comment on attachment 68755 [details] chrony logrotate config file >/var/log/chrony/*.log { ^ forgot to paste this one > sharedscripts > postrotate > PASSWORD=`awk '$1 ~ /^1$/ {print $2; exit}' /etc/chrony/chrony.keys` > cat << EOF | /usr/bin/chronyc | sed '/^200 OK$/d' > password $PASSWORD > cyclelogs > EOF > endscript >}
Thanks. The change is in =net-misc/chrony-1.24-r2.
The script is broken. It misses a { on the first line.
...aaand fixed.
So fixed...