[Bug 1246245] Re: proftpd service failed to restart

2016-05-08 Thread Freddy
I cannot believe it is still not fixed.

On every new install I need to manually patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-12-02 Thread Alexander Birkner
Just 5 months to go until the next LTS Release. Maybe, who knows it's
fixed in 16.04.

*ba dum tss*

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-12-02 Thread Poil
It's a long term bug  ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-11-23 Thread Robert Everts
Problem still present. This way the Long Term Support seems like a bogus
claim to me...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-10-28 Thread Erik van Luijk
When will this be merged?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-10-18 Thread Richard Moe
** Also affects: proftpd-dfsg
   Importance: Undecided
   Status: New

** No longer affects: proftpd-dfsg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-09-23 Thread Alexander Birkner
Yes, please merge the commit. Really frustrating on a LTS release...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-09-23 Thread Jiri Hoogeveen
When will this be fixit?
It is still present in Ubuntu 14.04.3 Long Term Support!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-09-01 Thread Flow
Yep Still there 14.04.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-08-26 Thread mdsf
Problem is still present even in 14.04.3 (!!!) :(

Think it will be in future LTS (16.x, 18.x, ...) too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-06-16 Thread bademux
yes, the problem stays for latest ubuntu 14.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-06-08 Thread quentindemetz
Looks like it hasn't been backported to 14.04 - even though that is an
LTS version...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-05-28 Thread halfgaar
I'm having it too an 14.04. Why is it not fixed after 1.5 years? The
Debian bug report on it is even older.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-04-20 Thread danb1974
My first attempt to cleanup the stop/reload mess, by creating a stop()
function which has --retry schedule and leave a simple and clean
signal() function. Feel free to point out if I'm totally wrong.


** Patch added: "proftpd-1.3.5-reload-fix.diff"
   
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1246245/+attachment/4379801/+files/proftpd-1.3.5-reload-fix.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2015-04-20 Thread danb1974
Seems it's not that simple to do a proper fix, since the same signal()
function is used for stop (TERM) and reload (HUP)

If you just add --retry to the first call to start-stop-daemon you will
break reload, since proftpd will be killed (--retry changes the
behaviour, now it's mission is to terminate the process, sending a
TERM/KILL schedule until pid file is gone)

Looks like the clean approach would be to separate stop and reload and
get rid of all the if/then/else dance and cascaded start-stop-daemon
calls

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-10-27 Thread Joel
** Patch added: "Patch vs trunk b63ec2128f324610404efa991456b6206095531d"
   
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1246245/+attachment/4246333/+files/proftp.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-10-27 Thread Joel
Upstream already had changed the init script, but I don't understand it
fully.

(looking at master, commit  b63ec2128f324610404efa991456b6206095531d  File: 
debian/proftp-basic.init )
My questions:  
1) Why exit if $2 is 0?  (row 118)
2) Is it necessary to call start-stop-daemon twice if the first it exits with 
nonzero return value? (row 111 and 115)
3) row 123 looks wrong, attaching simple patch.
4) what is missing to close this ticket and make a corrected .deb? I'm willing 
to help but know little.




** Patch removed: "proftp.patch"
   
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1246245/+attachment/4243699/+files/proftp.patch

** Patch removed: "proftp.patch"
   
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1246245/+attachment/4243717/+files/proftp.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-10-24 Thread Joel
I should probably read up on how to make a patch to the right codebase.

** Tags removed: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-10-24 Thread Ubuntu Foundations Team Bug Bot
The attachment "proftp.patch" seems to be a patch.  If it isn't, please
remove the "patch" flag from the attachment, remove the "patch" tag, and
if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-10-24 Thread Joel
I had a mistake, new patch.

** Patch added: "proftp.patch"
   
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1246245/+attachment/4243717/+files/proftp.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-10-24 Thread Joel
I just had logrotate trigger this bug on 14.04 (since it supposedly
cannot just reload)

Added a re-worked patch, please review.

** Patch added: "proftp.patch"
   
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1246245/+attachment/4243699/+files/proftp.patch

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-05-29 Thread Benpro
Well, last commit is: http://anonscm.debian.org/gitweb/?p=pkg-proftpd
/proftpd-dfsg.git;a=blobdiff;f=debian/proftpd-
basic.init;h=01a303a3cb0dcb06abc80f9cafdef70e4ff71ff3;hp=4d5b015588cf03c2966bff1a9984a7667580c797;hb=23c5e44b3c30a082a0e15279961c3c4c3d7393fd;hpb=1673a543ffb5665b4bb5786c9e60edae4c07cc1e

So patch is adding "--retry $SIGNAL/30/KILL/60" to start-stop-daemon
command line.

Sorry for double post.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-05-29 Thread Benpro
Debian fixed it using "--retry $SIGNAL/30/KILL/5" on debian/1.3.5_rc4-3.

See commit from frankie: http://anonscm.debian.org/gitweb/?p=pkg-proftpd
/proftpd-dfsg.git;a=blobdiff;f=debian/proftpd-
basic.init;h=4d5b015588cf03c2966bff1a9984a7667580c797;hp=6cdd2d22d221ce0cc9c0d3021eef7e0bd0247eec;hb=1673a543ffb5665b4bb5786c9e60edae4c07cc1e;hpb=196f4e5185067e4ba55d0a88054d97cc97a71804

Confirmed to fix the issue for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1246245] Re: proftpd service failed to restart

2014-05-10 Thread Francesco Paolo Lovergine
On Tue, May 06, 2014 at 12:00:46PM -, Alexander Birkner wrote:
> -  fi
> -  if [ -f "$PIDFILE" ]; then
> - start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile 
> "$PIDFILE"
> +  fi
> +  if [ -f "$PIDFILE" ]; then
> + start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile 
> "$PIDFILE"
>   +   sleep 1

Unfortunately this is non-solution because timing depends on current load. It
just mitigates the issue, not solves it. And it is a non sense with systemd,
which probably is able to manage better the whole process 

> -  if [ $? = 0 ]; then
> - log_end_msg 0
> - else
> +  if [ $? = 0 ]; then
> + log_end_msg 0
> + else
>   ---
>   
>   Please, fix.
> 

-- 
Francesco P. Lovergine

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1246245] Re: proftpd service failed to restart

2014-05-06 Thread Alexander Birkner
** Description changed:

  proftpd-basic 1.3.5~rc3-2 from Ubuntu 13.10
+ proftpd-basic 1.3.5~rc3-2.1ubuntu2 from Ubuntu 14.04
  
  Init script from proftpd-basic package contains the BUG: when you run
  /etc/init.d/proftpd restart it fails because of there is the race
  between pidfile removal and start() which checks pidfile existency:
  
  ---
  ProFTPD is started in standalone mode, currently running.
  root@aa:~# /etc/init.d/proftpd restart
-  * Stopping ftp server proftpd

 [ OK ] 
-  * Starting ftp server proftpd

 [ OK ] 
+  * Stopping ftp server proftpd

 [ OK ]
+  * Starting ftp server proftpd

 [ OK ]
  root@aa:~# /etc/init.d/proftpd status
  ProFTPD is started in standalone mode, currently not running.
  ---
  
  the next workaround helps:
  
  ---
  --- /etc/init.d/proftpd.orig2013-10-30 13:52:46.791265726 +0400
  +++ /etc/init.d/proftpd 2013-10-30 13:52:57.456265698 +0400
  @@ -107,6 +107,7 @@
-  fi
-  if [ -f "$PIDFILE" ]; then
- start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile "$PIDFILE"
+  fi
+  if [ -f "$PIDFILE" ]; then
+ start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile "$PIDFILE"
  +   sleep 1
-  if [ $? = 0 ]; then
- log_end_msg 0
- else
+  if [ $? = 0 ]; then
+ log_end_msg 0
+ else
  ---
  
  Please, fix.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1246245] Re: proftpd service failed to restart

2014-04-07 Thread PRISMA Computer GmbH
This solution worked also for me (except I had to edit  start-stop-
daemon line by hand, I had problems with the diff file itself). But it
is not merged in package until 2014-04-07.

Very sad. This bug leads to logrotate is killing proftpd.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-03-24 Thread Merlijn Hofstra
Hello Francesco,

That's why I submitted a revised patch that does use --retry rather than
a sleep. Could you please merge this into the release for 14.04 as this
bug is causing me some headaches? :-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1246245] Re: proftpd service failed to restart

2014-03-19 Thread Francesco Paolo Lovergine
On Wed, Mar 19, 2014 at 02:11:36AM -, joelparkerhenderson wrote:
> Thanks Merlijn, your patch works. IMHO your patch is a good way to
> really fix the race condition.
> 

Sorry, not. Adding sleeping seconds is the wrong way of fixing initscripts.
You should instead use the provided interface in start-stop-daemon via --retry.

-- 
Francesco P. Lovergine

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-03-18 Thread joelparkerhenderson
Thanks Merlijn, your patch works. IMHO your patch is a good way to
really fix the race condition.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2014-02-12 Thread Merlijn Hofstra
This bug is also still present in 14.04

I tend to think that "sleep 1" is somewhat ugly in the init script, this
solution works for me:

@@ -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 --retry 1 --quiet --pidfile 
"$PIDFILE"
 if [ $? = 0 ]; then
log_end_msg 0
else

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2013-12-16 Thread Cyrille Lapersonne
Thanks Goldhead.
Your patch works perfectly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1246245] Re: proftpd service failed to restart

2013-11-03 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: proftpd-dfsg (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246245

Title:
  proftpd service failed to restart

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs