Bug#730661: strongswan, broken test for running ike-daemon in init-script

2013-11-28 Thread Yves-Alexis Perez
On jeu., 2013-11-28 at 23:36 +0100, Nicolas Rachinsky wrote: > * Yves-Alexis Perez [2013-11-28 21:53 +0100]: > > On mer., 2013-11-27 at 22:58 +0100, Nicolas Rachinsky wrote: > > > So this should probably be > > > if [ -e $PLUTO ]; then > > > start-stop-daemon --start --quiet --pi

Bug#730661: strongswan, broken test for running ike-daemon in init-script

2013-11-28 Thread Nicolas Rachinsky
* Yves-Alexis Perez [2013-11-28 21:53 +0100]: > On mer., 2013-11-27 at 22:58 +0100, Nicolas Rachinsky wrote: > > So this should probably be > > if [ -e $PLUTO ]; then > > start-stop-daemon --start --quiet --pidfile $PIDFILE1 --exec > > $PLUTO --test > /dev/null \ > >

Bug#730661: strongswan, broken test for running ike-daemon in init-script

2013-11-28 Thread Yves-Alexis Perez
On mer., 2013-11-27 at 22:58 +0100, Nicolas Rachinsky wrote: > So this should probably be > if [ -e $PLUTO ]; then > start-stop-daemon --start --quiet --pidfile $PIDFILE1 --exec > $PLUTO --test > /dev/null \ > || return 1 > fi > if [ -e $CHARON ]; t

Bug#730661: strongswan, broken test for running ike-daemon in init-script

2013-11-27 Thread Nicolas Rachinsky
Package: strongswan-starter Version: 4.5.2-1.5+deb7u2 In /etc/init.d/ipsec is the code NAME=ipsec STARTER=/usr/sbin/$NAME ... PLUTO=/usr/lib/ipsec/pluto CHARON=/usr/lib/ipsec/charon ... if [ -e $PLUTO ]; then start-stop-daemon --start --quiet --pidfile $PIDFILE1 --exec $STARTER