Bug 1348934
| Summary: | Failed to bind to device | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Artur Penttinen <artur+redhat.com> |
| Component: | iputils | Assignee: | Jan Synacek <jsynacek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | jsynacek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | iputils-20160308-3.fc24 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-23 17:53:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
iputils-20160308-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3d9ca9424f iputils-20160308-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3d9ca9424f iputils-20160308-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: ping failed to bind to device via -I option Version-Release number of selected component (if applicable): iputils-20160308-2.fc24.i686 How reproducible: Set source address and ping some host. Steps to Reproduce: 1. # ping -I 10.7.1.1 8.8.8.8 ping: unknown iface 10.7.1.1 2. 3. Actual results: # ping -I 10.7.1.1 8.8.8.8 ping: unknown iface 10.7.1.1 Expected results: # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=11.1 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=46 time=10.2 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=46 time=10.0 ms --- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 10.000/10.453/11.143/0.495 ms Additional info: # sudo strace ping -I 10.7.1.1 8.8.8.8 ... close(3) = 0 capget({_LINUX_CAPABILITY_VERSION_3, 0}, NULL) = 0 capget({_LINUX_CAPABILITY_VERSION_3, 0}, {0, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0 capset({_LINUX_CAPABILITY_VERSION_3, 0}, {CAP_NET_RAW, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_ICMP) = -1 EACCES (Permission denied) socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3 socket(PF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6) = -1 EACCES (Permission denied) socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) = 4 capget({_LINUX_CAPABILITY_VERSION_3, 0}, NULL) = 0 capget({_LINUX_CAPABILITY_VERSION_3, 0}, {CAP_NET_RAW, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0 capset({_LINUX_CAPABILITY_VERSION_3, 0}, {0, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0 ioctl(3, SIOCGIFINDEX, {ifr_name="10.7.1.1", ???}) = -1 ENODEV (No such device) write(2, "ping: unknown iface 10.7.1.1\n", 29ping: unknown iface 10.7.1.1 ) = 29 exit_group(2) = ? +++ exited with 2 +++