Red Hat Bugzilla – Bug 802178
logrotate script for proftpd w/ systemd (i.e. f16 and later) broken
Last modified: 2012-03-24 05:37:55 EDT
Description of problem:
The /etc/logrotate.d/proftpd script for 16 and later contains:
test -f /var/lock/subsys/proftpd && /usr/bin/killall -HUP proftpd || :
but this file doesn't apply to sites using systemd to launch proftpd. It should be:
systemctl reload proftpd.service
Version-Release number of selected component (if applicable):
Wait for log rotation, then do either grep for proftpd restarting in log files, or else do:
ps -ef | grep proftpd
lsof -p XXXX | grep /var/log
and you'll see proftpd still holding rotated logs open.
Steps to Reproduce:
proftpd-1.3.4a-7.fc17 has been submitted as an update for Fedora 17.
proftpd-1.3.4a-7.fc16 has been submitted as an update for Fedora 16.
Thanks, by the way, for taking care of that so quickly.
proftpd-1.3.4a-7.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
proftpd-1.3.4a-7.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.