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). Thanks.
ping 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: #ifdef CONFIG_FEATURE_IPROUTE argv_printf (&argv, "%s link set addr %s dev %s", iproute_path, ...); #else argv_printf (&argv, "%s %s hw ether %s", IFCONFIG_PATH, ...); or #ifdef CONFIG_FEATURE_IPROUTE argv_printf (&argv, "%s route add %s/%d via %s", iproute_path, ...): #else 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 ? -Requires: net-tools - --with-ifconfig-path=/sbin/ifconfig \ - --with-route-path=/sbin/route 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. https://admin.fedoraproject.org/updates/openvpn-2.2.2-9.fc18
Package openvpn-2.2.2-9.fc18: * 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: https://admin.fedoraproject.org/updates/FEDORA-2012-14804/openvpn-2.2.2-9.fc18 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.