Bug#675081: proftpd-basic: logrotate kills proftpd instead of restarting it

Lorin Weilenmann lorin.weilenmann at gmail.com
Tue Jan 14 10:04:09 UTC 2014


I have the same bug on 1.3.5~rc3-2.1. invoking restart manually gives ok
for stop and ok for start, but the service is not actually started. adding
a sleep 2 between stop and start in the init.d-script resolves the issue.
This is running proftpd in StandAlone-mode.


>>I just had this bug start happening to me, and it happens even without
logrotate being involved. Just running:

>>  /etc/init.d/proftpd restart

Logrotate invokes a restart of proftpd after rotation, so - in effect -
running logrotate or restarting proftpd manually results in the same parts
of the init.d script being run.

The funny thing is that adding the sleep command totally changes the output
of the init.d-script. This is without sleep:

root at nas /etc/proftpd # /etc/init.d/proftpd restart
[ ok ] Stopping ftp server: proftpd.
[ ok ] Starting ftp server: proftpd.

(proftpd is not running now)

And this is with sleep:

root at nas /etc/proftpd # /etc/init.d/proftpd restart
[ ok ] Stopping ftp server: proftpd.
[....] Starting ftp server: proftpd2014-01-14 11:02:58,517 nas
proftpd[3921] nas.weily.lan: 127.0.1.1:21 masquerading as x.x.x.x
. ok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-proftpd-maintainers/attachments/20140114/c18bc450/attachment.html>


More information about the Pkg-proftpd-maintainers mailing list