Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154191 - net-misc/openvpn built with USE="iproute2" and iprouted built with USE="minimal" doesn't work
Summary: net-misc/openvpn built with USE="iproute2" and iprouted built with USE="minim...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-05 15:14 UTC by Martin Scherer
Modified: 2006-11-06 02:25 UTC (History)
0 users

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 Martin Scherer 2006-11-05 15:14:29 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: 

a minimal iproute2 does not provide the /sbin/ip utility which is expected to
exist if you build openvpn with USE="iproute2"

the result is that you can not use any tunnels etc.

please fix it (solution might be the same as in #14001)

Reproducible: Always

Steps to Reproduce:
1. USE="iproute2 minimal" emerge iproute2 openvpn
2. /etc/init.d/openvpn start complains about missing /sbin/ip utility




Expected Results:  
-incompatible useflag matrix should be disallowed
-working configuration
Comment 1 Martin Scherer 2006-11-05 15:24:41 UTC
pkg_setup() {
    if use iproute2; then
        if built_with_use sys-apps/iproute2 minimal; then
            die "If you want iproute2 support, you need to build iproute2
            without USE=\"minimal\"!\nTo build a minimal openvpn with iproute2
            support put the following line into your /etc/portage/package.use:\n
            sys-apps/iproute2 -minimal"
        fi
    fi
}

this should disable merging a non working version of openvpn!
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-11-06 02:25:59 UTC
Fixed, thanks for the report