archfi
archfi copied to clipboard
Script does not create/update /etc/hosts file
This file is required for networking and serious problems can occur if this file is missing, you should make the install script create the file and fill it with this information:
127.0.0.1 localhost
::1 localhost
127.0.1.1 myhostname.localdomain myhostname
Can you explain the serious problem?
The arch wiki say :
The myhostname Name Service Switch (NSS) module of systemd provides local hostname resolution without having to edit /etc/hosts
https://wiki.archlinux.org/index.php/Network_configuration#Local_hostname_resolution
The link you posted is misleading, if you didn't need to update /etc/hosts then the arch wiki wouldn't tell you to so in the installation guide.
This isn't the answer I expected ... What are the problems if you don't have the /etc/hosts file and it's managed by NSS enabled by default? Try to provide some technicals infos (an other page of the Arch Wiki or a thread in the Arch Linux forum).
Closing old issue...