Package: iputils-ping Version: 3:20200821-2 Severity: normal X-Debbugs-Cc: [email protected]
Dear Maintainer, After iputils-ping upgrade to the recent version (3:20200821-2) I can see this error message when trying to ping any IPv4 address. # ping -c 1 127.0.0.1 ping: socket: Address family not supported by protocol PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.041 ms --- 127.0.0.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.041/0.041/0.041/0.000 ms It seems that it is because ping tries to open an IPv6 socket: # strace ping -c 1 127.0.0.1 2>&1 | grep 'AF_INET6' socket(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6) = -1 EAFNOSUPPORT (Address family not supported by protocol) I have IPv6 disabled in my system (by ipv6.disable=1 kernel option), so I would expect ignoring the IPv6 stuff at all (even without using "-4" ping parameter explicitly). I did not see this behaviour in the previous ping version. Regards Zbynek -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (100, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-1-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=cs_CZ.utf8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages iputils-ping depends on: ii libc6 2.31-3 ii libcap2 1:2.43-1 ii libcap2-bin 1:2.43-1 ii libidn2-0 2.3.0-1 iputils-ping recommends no packages. iputils-ping suggests no packages. -- no debconf information

