Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454258 - Openvpn tries to use /sbin/ifconfig, but it's moved to /bin/ifconfig
Summary: Openvpn tries to use /sbin/ifconfig, but it's moved to /bin/ifconfig
Status: RESOLVED DUPLICATE of bug 407195
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-27 10:30 UTC by Gabor MARTON
Modified: 2013-01-27 16:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor MARTON 2013-01-27 10:30:02 UTC
Without the iproute2 use flag openvpn uses /sbin/ifconfig and /sbin/route. Since a recent update those two executables moved from /sbin to /bin. Now openvpn can't use them, because it refers to the with full path (/sbin/ifconfig, /sbin/route).

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/openvpn start (openvpn compiled without iproute2 use flag)
2. wait
3. Get surprised: openvpn can't come up :(
Actual Results:  
Jan 27 11:10:22 localhost openvpn[8061]: /sbin/ifconfig tap0 X.X.X.X netmask 255.255.255.0 mtu 1484 broadcast X.X.X.X
Jan 27 11:10:22 localhost openvpn[8061]: Linux ifconfig failed: could not execute external program
Jan 27 11:10:22 localhost openvpn[8061]: Exiting


Jan 27 11:11:41 localhost openvpn[8140]: /sbin/route add -net X.X.X.X netmask 255.255.255.0 gw X.X.X.X
Jan 27 11:11:41 localhost openvpn[8140]: ERROR: Linux route add command failed: could not execute external program


Expected Results:  
A working openvpn tunnel.
Comment 1 Ben Kohler gentoo-dev 2013-01-27 16:15:25 UTC

*** This bug has been marked as a duplicate of bug 407195 ***