lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 31 May 2011 12:46:30 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	torvalds@...ux-foundation.org
Cc:	josh@...htriplett.org, netdev@...r.kernel.org, serge@...lyn.com,
	akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
	kel@...ku42.de, pkg-sysvinit-devel@...ts.alioth.debian.org
Subject: Re: [PATCH] uts: Make default hostname configurable, rather than
 always using "(none)"

From: Linus Torvalds <torvalds@...ux-foundation.org>
Date: Tue, 31 May 2011 20:35:37 +0900

> On Tue, May 31, 2011 at 7:38 AM, Josh Triplett <josh@...htriplett.org> wrote:
>>
>> The "hostname" tool falls back to setting the hostname to "localhost" if
>> /etc/hostname does not exist.  Distribution init scripts have the same
>> fallback.  However, if userspace never calls sethostname, such as when
>> booting with init=/bin/sh, or otherwise booting a minimal system without
>> the usual init scripts, the default hostname of "(none)" remains,
>> unhelpfully appearing in various places such as prompts
>> ("root@(none):~#") and logs.  Furthermore, "(none)" doesn't typically
>> resolve to anything useful.
> 
> Ok, I'm fine with this. So Ack as far as I'm concerned.
> 
> Does this make most sense through the networking tree, or what?

Linus, you can just apply this directly.

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ