Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 466908

Summary: [PATCH] net-misc/openvpn is broken by sys-apps/iproute-3.8.0 update which moves 'ip' to /bin
Product: Gentoo Linux Reporter: Elias Probst <mail>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: major CC: nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for net-misc/openvpn-2.2.2 to handle 'ip' move to /bin
Patch for net-misc/openvpn-2.3.0 to handle 'ip' move to /bin

Description Elias Probst 2013-04-23 16:45:42 UTC
Created attachment 346388 [details, diff]
Patch for net-misc/openvpn-2.2.2 to handle 'ip' move to /bin

Since sys-apps/iproute-3.8.0 the 'ip' executable is installed into '/bin' instead of '/sbin' (see also: bug#330115).

This breaks net-misc/openvpn, as it has the path '/sbin/ip' hardcoded:
> Tue Apr 23 18:25:21 2013 /sbin/ip link set dev tapvpn up mtu 1500
> Tue Apr 23 18:25:21 2013 Linux ip link set failed: could not execute external program
> Tue Apr 23 18:25:21 2013 Exiting due to fatal error

Attached are patches for net-misc/openvpn-2.2.2 and net-misc/openvpn-2.3.0.

I'm not sure how to further deal with this (add -r1 of net-misc/openvpn-2.2.2 and -2.3.0 with the patch applied and add a blocker for >=sys-apps/iproute-3.8.0?). Any suggestions?
Comment 1 Elias Probst 2013-04-23 16:46:13 UTC
Created attachment 346390 [details, diff]
Patch for net-misc/openvpn-2.3.0 to handle 'ip' move to /bin
Comment 2 Elias Probst 2013-04-23 16:51:09 UTC
For those affected by the bug who don't want to fiddle around with the patch until it has reached the portage tree: a temporary workaround is adding the following line to the OpenVPN configuration file:

> iproute /bin/ip
Comment 3 SpanKY gentoo-dev 2013-04-23 18:46:25 UTC

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