Bug#441316: sv once ineffective if 'finish' exists and is executable

2007-09-11 Thread Andras Korn
On Mon, Sep 10, 2007 at 12:27:39PM +, Gerrit Pape wrote: Hi, if ./finish exists and is executable, runsv will execute it and then restart the service even if it was in the 'sv once' state. Hmm, it doesn't fail for me [...] Can you post the exact commands to reproduce the issue?

Bug#441316: sv once ineffective if 'finish' exists and is executable

2007-09-11 Thread Andras Korn
On Mon, Sep 10, 2007 at 12:27:39PM +, Gerrit Pape wrote: Hi, if ./finish exists and is executable, runsv will execute it and then restart the service even if it was in the 'sv once' state. Hmm, it doesn't fail for me You're right. It was my fault, but the scenario is, I think,

Bug#441316: sv once ineffective if 'finish' exists and is executable

2007-09-10 Thread Gerrit Pape
On Sat, Sep 08, 2007 at 05:06:42PM +0200, Andras Korn wrote: if ./finish exists and is executable, runsv will execute it and then restart the service even if it was in the 'sv once' state. Hmm, it doesn't fail for me $ mkdir service cd $_ $ printf '#!/bin/sh\nexec sleep 7' run chmod 755

Bug#441316: sv once ineffective if 'finish' exists and is executable

2007-09-08 Thread Andras Korn
Package: runit Version: 1.7.2-1 Severity: normal Hi, if ./finish exists and is executable, runsv will execute it and then restart the service even if it was in the 'sv once' state. Andras -- System Information: Debian Release: 4.0 Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash