OpenVPN in Fedora has been already using iproute for all the network interface manipulations. It does that by passing --enable-iproute2 option to %configure,
which enables using of 'ip addr', 'ip link' and 'ip route' instead of ifconfig and route.
I think it's time to remove the 'Requires: net-tools' line as well as the '--with-ifconfig-path' %configure option from openvpn.spec as the ifconfig and route are not used anymore (I've even tested openvpn with deleted /sbin/ifconfig and /sbin/route and haven't seen any problems).
On my freshly installed F18 openvpn is the only component that pulls net-tools in.
There's really no reason for requiring net-tools when it doesn't use ifconfig/route any more. If you look in the code you'll see for example:
argv_printf (&argv, "%s link set addr %s dev %s", iproute_path, ...);
argv_printf (&argv, "%s %s hw ether %s", IFCONFIG_PATH, ...);
argv_printf (&argv, "%s route add %s/%d via %s", iproute_path, ...):
argv_printf (&argv, "%s add -net %s netmask %s gw %s", ROUTE_PATH, ...);
where CONFIG_FEATURE_IPROUTE is already defined by using the --enable-iproute2 configure switch.
Can you PLEASE remove the following lines from spec file ?
- --with-ifconfig-path=/sbin/ifconfig \
Thank you !
I'll get on this.
Building for rawhide, I'll push it for f18 as well.
openvpn-2.2.2-9.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openvpn-2.2.2-9.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
openvpn-2.2.2-9.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.