Bug 785794
| Summary: | OpenVPN doesn't need to require net-tools | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jiri Popelka <jpopelka> |
| Component: | openvpn | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gwync, huzaifas, psabata, steve |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-20 16:07:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 687920 | ||
|
Description
Jiri Popelka
2012-01-30 16:11:34 UTC
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. |