Package: openvpn
Version: 2.0.9-4
Tags: patch

Hi,

if you use a modified version of rm(1) that ask before removal (like in
RHAS 4), stop_vpn() get stuck. Adding -f should solve the issue and
causing no
harm with the stock command. The patch is diffed againts stable version, but
the same issue is present in testing and unstable.

TIA
-- 
Riccardo Magliocchetti

Nesit Telecom s.r.l.
http://www.nesit.it
--- etc/init.d/openvpn.orig     2007-06-21 12:27:43.000000000 +0200
+++ etc/init.d/openvpn  2007-06-21 12:28:07.000000000 +0200
@@ -50,7 +50,7 @@
 }
 stop_vpn () {
   kill `cat $PIDFILE` || true
-  rm $PIDFILE
+  rm -f $PIDFILE
   rm -f /var/run/openvpn.$NAME.status 2> /dev/null
 }
 

Reply via email to