Red Hat Bugzilla – Bug 129941
vsftpd logs do not rotate by default.
Last modified: 2016-07-26 19:46:09 EDT
Description of problem:
Default RPM install contains file /etc/logrotate.d/vsftpd.log which
# ftpd doesn't handle SIGHUP properly
However, the default behavior for the daemon is to write to
/var/log/xferlog -- not to /var/log/vsftpd.log. No logrotate config
file is provided for /var/log/xferlog.
Version-Release number of selected component (if applicable):
Install Red Hat Enterprise Linux 3.0, selecting the FTP Server package
in the process. Start the vsftpd daemon. Transfer a few files. Observe
that transfer activity is logged to /var/log/xferlog. Wait a week.
Observe that /var/log/xferlog has not been rotated.
Steps to Reproduce:
logrotate config contains directive to rotate /var/log/vsftpd.log.
/var/log/xferlog grows indefinitely without being rotated.
logrotate config should contain directive to rotate /var/log/xferlog;
or daemon should log to /var/log/vsftpd.log. I prefer the former behavior.
Logging was fixed in vsftpd-2.0.1.
I'm sorry but for RHEL-3 we currently only fix regressions and mission critical
bug. Hence closing as WONTFIX.