Re: Bug#63964: no localhost hostname or loopback device setup on fresh install of potato
reassign 63964 boot-floppies
thanks
> I just installed debian potato on a machine as a fresh install. After
> completing the setup I noticed that there was no loopback device setup or a
> localhost entry in /etc/hosts although there was an entry setup as 127.0.0.1
> being my hostname that I specified during setup. I understand that the
> reason it probibly does this is to make sure that upgrades don't become
> broken. Maybe checking to see if /etc/init.d/network exists and if not then
> adding a /etc/network/interfaces that has the localhost active and sets the
> localhost entry into /etc/hosts. Just an idea, thanks for your time.
The boot-floppies should be creating an /etc/network/interfaces file that
includes the line:
iface lo inet loopback
at all times. They also should be including loopback in /etc/hosts at all
times. Even when there's no other networking.
I haven't played with potato's boot floppies at all, so I've no idea
what's actually happening here. :-/ One possibility is that this is due
to using the old boot-floppies, 2.2.13 is the latest, I think and fixes
a bunch of bugs.
(Having netbase modify things isn't a good idea, because there are some
people who don't want to use ifup/down at all, even for loopback)
Cheers,
aj
--
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG encrypted mail preferred.
``We reject: kings, presidents, and voting.
We believe in: rough consensus and working code.''
-- Dave Clark
Reply to: