Re: [PATCH RESEND] uts: Set default hostname to "localhost", rather than "(none)"

From: Valdis . Kletnieks
Date: Mon Apr 11 2011 - 22:48:32 EST


On Sun, 10 Apr 2011 22:01:59 PDT, Josh Triplett said:

> Change the default hostname to "localhost". This removes the need for
> the standard fallback, provides a useful default for systems that never
> call sethostname, and makes minimal systems that much more useful with
> less configuration.

Seems sane enough to me. Only possible objection I can think of is "if you're running
with 'init=/bin/sh' or similar config too crippled to run /bin/hostname, maybe your
network config *should* be intentionally toasted so you can't get further surprises".

I personally don't agree - just saying somebody might hold that position.

Attachment: pgp00000.pgp
Description: PGP signature