conntrack-tools stats logging is enabled by default but logrotate is not configured
After installing and enable (rc-update) conntrack-tools-1.4.6 a /var/log/conntrackd-stats.log is created which is enabled by the default the conntracd config for stats. This never rotates, on a system running kubernetes kubelet for example the log grows huge and fills up the file system.
Solution: Add a logrotate script and/or disabled stats logging by default
Disable stats logging:
In /etc/conntrackd/conntrackd.conf
Stats {
-----
LogFile on -> #LogFile on
-----
}
Logrotate example:
/etc/logrotate.d/contrackd
/var/log/conntrackd*.log {
missingok
size 5M
rotate 3
compress
copytruncate
}