On 2014-09-08 04:53:08 -0400, Daniel Dickinson wrote:
> On 28/07/14 09:40 AM, Joachim Breitner wrote:
> > BTW, what should the FQDN even be here? My laptop doesn’t have a FQDN
> > that resolves to it, so the concept seems to be dubious at least.
> 
> Actually unless your laptop is not connected to a network via DHCP there
> is a 90% probability that if libnss-hostname is not installed that you
> will resolve to <DHCP-hostname>.<DHCP-handed-out-domain>.

I disagree on this probability. At the Debian installation, the FQDN
(specified at the installation) is put in /etc/hosts on the 127.0.1.1
line (unless this has changed recently). This means that the nodename
will resolve to the configured FQDN and won't depend on DHCP, unless
the DHCP client has been configured to update the nodename from the
DHCP server, which is a very bad idea as this breaks various programs:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635322

Well, that's for IPv4. I'm wondering whether there's a glibc bug,
which does not make the nodename resolvable with IPv6 via files as
well. Otherwise one might be able to see problems similar to what
libnss-hostname gives.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to