Bug#1104536: ftpstats references wrong file in logrotate config
Justin Pasher
jpasher at apspayroll.com
Thu May 1 17:48:59 BST 2025
Package: proftpd-core
Version: 1.3.8+dfsg-4+deb12u4
The logrotate config for ProFTPd (/etc/logrotate.d/proftpd-core) runs
ftpstats as part of the postrotate command when rotating
/var/log/proftpd/xferlog. However, the call references the file
/var/log/proftpd/xferlog.0. The default config in Debian starts naming
rotated log files with .1, not .0, so the command never runs successfully.
Instead, the call to ftpstats should reference the newly rotated file:
/var/log/proftpd/xferlog.1
Justin Pasher
More information about the Pkg-proftpd-maintainers
mailing list