[Hostname-devel] Bug#796922: hostname -A print no output if fqdn longer as 45 char

Pascal debianbug at gmx.de
Tue Aug 25 20:25:30 UTC 2015


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 at deb7:~#
root at 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 at deb8:~#
root at deb8:~# vim /etc/hosts
root at deb8:~# hostname -A
01234567890123456789012345678901234567.local 
root at deb8:~#
root at deb8:~# vim /etc/hosts
root at deb8:~# hostname -A
012345678901234567890123456789012345678.local 
root at deb8:~#
root at deb8:~# vim /etc/hosts
root at deb8:~# hostname -A

root at 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



More information about the Hostname-devel mailing list