[Bug 1388020] Re: /etc/init.d/proftpd restart doesn't work properly

Andreas Baumgartner 1388020 at bugs.launchpad.net
Tue Dec 15 09:57:05 UTC 2015


This is a duplicate of #1246245

-- 
You received this bug notification because you are a member of ProFTPD
Maintainance Team, which is subscribed to proftpd-dfsg in Ubuntu.
https://bugs.launchpad.net/bugs/1388020

Title:
  /etc/init.d/proftpd restart doesn't work properly

Status in proftpd-dfsg package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 14.04.x with latest updates.
  proftpd-basic 1.3.5~rc3-2.1ubuntu2

  If I do /etc/init.d/proftpd restart first time and then check for the
  process 'ps aux | grep proftpd' I find it is absent. Running next time
  - proftpd process apeared. Running again - proftpd process disappeared
  again. This is because start-stop-daemon doesn't wait untill a process
  actually stopps.

  Here is a fix:
  --- /etc/init.d/proftpd.orig	2013-12-20 22:07:33.000000000 +0400
  +++ /etc/init.d/proftpd	2014-10-31 12:49:56.251787668 +0300
  @@ -106,7 +106,7 @@
   	fi
       fi
       if [ -f "$PIDFILE" ]; then
  -    	start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile "$PIDFILE"
  +    	start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile "$PIDFILE" --retry 5
      	 if [ $? = 0 ]; then
           	log_end_msg 0
       	else

  Best regards,
  Stanislav German-Evtushenko

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1388020/+subscriptions



More information about the Pkg-proftpd-maintainers mailing list