Re: /etc/hosts format WAS [Re: host hostname not found]
On 2014-09-12 06:34:58 +0400, Reco wrote:
> On Thu, 11 Sep 2014 23:03:25 +0100
> Brian <ad44@cityscape.co.uk> wrote:
> > If the local hostname is always resolvable by a 127.0.1.1 line in
> > /etc/hosts or the machine is unlikely to dynamically change its
> > hostname libnss-myhostname probably can be purged.
>
> 'Purged' implies one installed libnss-myhostname in the first place.
It can be installed by a dependency (e.g. due to some GNOME package).
> And libnss-myhostname does more than merely match a local hostname to
> 127.0.1.1. For example, it 'helpfully' mathes FQDN hostname with
> 127.0.1.1, and also does the same for ipv6.
This is what it should do ideally. Unfortunately, for some users,
it doesn't take the FQDN, but just the short hostname:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756224
--
Vincent Lefèvre <vincent@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)
Reply to: