vpnc-script assumes /sbin/ is in its path
Bug #109788 reported by
John Morrissey
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`"
To post a comment you must log in.
Thank you for your bug report.
Fixed with version 0.4.0-3 in Debian.
This will be fixed in the next merge.