[pkg-dhcp-devel] Bug#792854: isc-dhcp-client: Dhclient fails to set hostname
Niki Kovacs
info at microlinux.fr
Sun Jul 19 12:03:24 UTC 2015
Package: isc-dhcp-client
Version: 4.3.1-6
Severity: normal
Hi,
I installed two minimal Debian Jessie 8.0 systems on two spare sandbox PCs in my office. I installed
Debian 8.0 32-bit on one PC, and Debian 8.0 64-bit on the other one.
Since I have a local Dnsmasq server, I didn't want to provide any "hardcoded" hostname information.
/etc/hostname contains only 'localhost', and similarly, /etc/hosts only has information about
'localhost' and 'localhost.localdomain'.
On the 64-bit client, the hostname gets set correctly by the server. After booting, I login to the
machine, and 'hostname' returns 'raymonde' as expected. 'hostname --fqdn' returns
'raymonde.microlinux.lan'.
On the 32-bit client (which has the exact same setup), 'hostname --fqdn' should return
'bernadette.microlinux.lan'. Unfortunately, all I get here is 'localhost.localdomain'.
Just to be on the safe side, I performed a fresh installation of a clean Debian system on each of
these client machines, one with 32-bit, one with 64-bit. The same problem arises again.
So it looks like this is a bug in dhclient which only affects 32-bit systems.
Cheers from the sunny South of France,
Niki Kovacs
-- System Information:
Debian Release: 8.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages isc-dhcp-client depends on:
ii debianutils 4.4+b1
ii iproute2 3.16.0-2
ii isc-dhcp-common 4.3.1-6
ii libc6 2.19-18
ii libdns-export100 1:9.9.5.dfsg-9+deb8u1
ii libirs-export91 1:9.9.5.dfsg-9+deb8u1
ii libisc-export95 1:9.9.5.dfsg-9+deb8u1
isc-dhcp-client recommends no packages.
Versions of packages isc-dhcp-client suggests:
pn avahi-autoipd <none>
pn resolvconf <none>
-- no debconf information
More information about the pkg-dhcp-devel
mailing list