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

Bug#237779: #237779: /etc/hosts is wrong (with dhcp)



Unfortunately I have to confirm this. But I think it might not be a netcfg 
issue but rather the duty of the dhcp-client to make sure the network config 
is consistent as long the connection is under their supervision, and reverted 
back to original state when stoping the dhcp-client.

In my case d-i beta3 used dhcp-client (v2). It should probably use 
dhcp3-client which now got a rewriten dhclient-script. It might already do 
the necessary updates to /etc/host or leave it just mentioning 127.0.0.1 
localhost and change the /etc/host.conf and nsswitch to refer to the dns 
server before consulting the files.

So this bug should probably reassigned to dhcp-client. (Or dhcp3-client, pump 
or dhcpcd respecively if they even have this problem at all.)




Reply to: