[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#316099: Please give system hostname IP address 127.0.1.1



Package: netcfg

As discussed in the debian-boot mailing list recently[0], netcfg should
(IMHO) never put the system hostname in /etc/hosts as an alias for
'localhost.localdomain'.  If the system hostname cannot be added
to /etc/hosts as the canonical hostname for a permanent real IP address

   127.0.0.1 localhost.localdomain localhost
   86.44.102.62  pengo

then it should be written as the canonical hostname for a 127.* address.

   127.0.0.1 localhost.localdomain localhost
   127.0.1.1 pengo

In the long run it may be better not to write the system hostname
into /etc/hosts at all.

[0]http://lists.debian.org/debian-boot/2005/06/msg00938.html
-- 
Thomas Hood





Reply to: