lkml.org 
[lkml]   [2011]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] uts: Make default hostname configurable, rather than always using "(none)"
    From
    From: Linus Torvalds <torvalds@linux-foundation.org>
    Date: Tue, 31 May 2011 20:35:37 +0900

    > On Tue, May 31, 2011 at 7:38 AM, Josh Triplett <josh@joshtriplett.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 linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-05-31 21:51    [W:0.020 / U:89.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site