Re: Bug#63964: no localhost hostname or loopback device setup on fresh install of potato
Joey Hess wrote:
> On at least one install I did (on my new laptop, which has gotten more
> testing than most of my test installs), I had to add this line manually.
> I'll keep an eye on it during future test installs.
>
> Hm. It's possible I just didn't set up the network though. I was
> installing from files on a dos partition, and networking was pcmcia, and
> I probably didn't bother to configure it in dboostrap.
>
> IMHO, the lo entry should be added even if networking is not configured.
So I took a look at the code. utilities/dbootstrap/netconfig.c adds the
lo interface in write_common_network()
write_common_network is called by write_static_network and
write_dhcp_network and configure_static_network
Those functions, are in turn called only by configure_network.
configure_network is only called if you pick it from the main menu, I
*think*.
So I think if you do an install and never choose configure network, you
don't get lo.
--
see shy jo
Reply to: