Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466908 - [PATCH] net-misc/openvpn is broken by sys-apps/iproute-3.8.0 update which moves 'ip' to /bin
Summary: [PATCH] net-misc/openvpn is broken by sys-apps/iproute-3.8.0 update which mov...
Status: RESOLVED DUPLICATE of bug 407195
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 16:45 UTC by Elias Probst
Modified: 2013-04-23 18:46 UTC (History)
1 user (show)

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


Attachments
Patch for net-misc/openvpn-2.2.2 to handle 'ip' move to /bin (openvpn-2.2.2-iproute2-sbin-to-bin.patch,1.01 KB, patch)
2013-04-23 16:45 UTC, Elias Probst
Details | Diff
Patch for net-misc/openvpn-2.3.0 to handle 'ip' move to /bin (openvpn-2.3.0-iproute2-sbin-to-bin.patch,1.10 KB, patch)
2013-04-23 16:46 UTC, Elias Probst
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***