Package: chrony Version: 1.20-8 Severity: wishlist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
It really would be nice if chrony would use logrotate insted of savelog. The config files of logrotate are much more manageble then some custon shell script. Attached is a sample logrotate file that replicates the function of the cron job. - -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-1-k7 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages chrony depends on: ii libc6 2.3.5-3 GNU C Library: Shared libraries an ii libncurses5 5.4-9 Shared libraries for terminal hand ii libreadline4 4.3-15 GNU readline and history libraries chrony recommends no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDBeGaGf7YPOK+o0ERAnQuAJ48FLz0+CWc69ZnUgEZ7YV5pLkAFACgzufu oQXFR37jzSQwQ+3QprE7uOM= =58uL -----END PGP SIGNATURE-----
/var/log/chrony/*.log { weekly rotate 7 sharedscripts compress delaycompress 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 }