vpnc-script assumes /sbin/ is in its path

Bug #109788 reported by John Morrissey
6
Affects Status Importance Assigned to Milestone
vpnc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: vpnc

vpnc(8) assumes /sbin/ is in its path. When it's not, calls to ifconfig(8) fail and the tunnel does not come up, although vpnc continues to run. This patch fixes this:

--- vpnc-script.orig 2007-04-24 19:21:40.000000000 -0400
+++ vpnc-script 2007-04-24 19:21:29.000000000 -0400
@@ -39,6 +39,8 @@
        mkdir -p /var/run/vpnc
 fi

+export PATH="$PATH:/sbin"
+
 # stupid SunOS: no blubber in /usr/local/bin ... (on stdout)
 IPROUTE="`which ip | grep '^/' 2> /dev/null`"

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your bug report.
Fixed with version 0.4.0-3 in Debian.
This will be fixed in the next merge.

Changed in vpnc:
assignee: nobody → dktrkranz
status: Unconfirmed → Fix Committed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Version 0.4.0-3ubuntu1 is now in the archives.

Changed in vpnc:
assignee: dktrkranz → nobody
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.