Package: hostname Version: 3.15 Severity: normal Dear Maintainer,
if I have a hostname longer as 45 char, hostname -A print only an empty line. root@deb7:~# root@deb7:~# cat /etc/hosts 127.0.0.1 localhost 172.17.0.31 01234567890123456789012345678901234567.local deb7 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters root@deb8:~# root@deb8:~# vim /etc/hosts root@deb8:~# hostname -A 01234567890123456789012345678901234567.local root@deb8:~# root@deb8:~# vim /etc/hosts root@deb8:~# hostname -A 012345678901234567890123456789012345678.local root@deb8:~# root@deb8:~# vim /etc/hosts root@deb8:~# hostname -A root@deb8:~# With vim, I only modyfied the hostname I see the same problem on Debian 7.8 hostname: 3.11 libc6: 2.13-38+deb7u8 Regards Pascal -- System Information: Debian Release: 8.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages hostname depends on: ii libc6 2.19-18 hostname recommends no packages. hostname suggests no packages. -- no debconf information

