Package: iputils-ping
Version: 3:20161105-1
Severity: normal

Hello,

while researching the culprit for https://bugs.debian.org/895558 I found
that check_ping sets LC_ALL=C before executing ping, which then reports
failure if the hostname to check is puny encoded:

        $ LC_ALL=C ping www.xn--kleine-knig-yfb.de
        ping: www.xn--kleine-knig-yfb.de: Parameter string not correctly encoded

It could be argued that LC_ALL=C is a bad choice today, but still I
think that ping should work anyhow given that there is no need to handle
non-ASCII chars in the above scenario.

Best regards
Uwe

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (500, 'unstable-debug'), 
(500, 'stable'), (499, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages iputils-ping depends on:
ii  libc6       2.27-3
ii  libcap2     1:2.25-1.2
ii  libidn11    1.33-2.2
ii  libnettle6  3.4-1

Versions of packages iputils-ping recommends:
ii  libcap2-bin  1:2.25-1.2

iputils-ping suggests no packages.

-- no debconf information

Reply via email to