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 +++
Upstream commit: https://github.com/iputils/iputils/commit/1f6f39b84f81cfa6bc243557a68eebeeac7e8ea3
http://pkgs.fedoraproject.org/cgit/rpms/iputils.git/commit/?h=f24&id=823348da5567018fef4dfd9b1aee517f1bba06d0
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.