Bug#721201: proftpd-basic: Without sleep 2, doing /etc/init.d/proftpd restart doesn't restart the daemon, but only stops it.

Francesco P. Lovergine frankie at debian.org
Fri Apr 11 13:40:20 UTC 2014


On Mon, Apr 07, 2014 at 12:33:01PM +0200, Prisma Computer - G. Fischer wrote:
> Hello,
> 
> I'm able to confirm this bug with ProFTPD Version 1.3.5rc3. This is an
> evil bug, leading to logrotate is killing proftpd. When is it expected
> to be fixed?
> 
> Mit freundlichen Grüßen / Best regards
> 
> Gregor Fischer
> 
> > 		start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile "$PIDFILE" --retry=TERM/10/KILL/5

This version is already using the sleeping thanks to the --retry flag. You are
talking about what exactly? The next systemd will not appreciate sleeps
around in init scripts, so this is the proper way of fixing that issue.

-- 
Francesco P. Lovergine



More information about the Pkg-proftpd-maintainers mailing list