Re: Bug in set/gethostname.

Linus Torvalds (
Sun, 17 May 1998 15:04:22 -0700 (PDT)

On Sun, 17 May 1998, Trevor Johnson wrote:
> > Usually you set the hostname once, at bootup.
> I use dynamic PPP, and have /bin/hostname called from /etc/ppp/ip-up to
> set a hostname that matches the dynamically assigned IP address. I've
> never noticed the name getting corrupted.

Ok, convinced. I thought ppp would only set the IP address, but if you
have cases where it is validly set by automatic scripts like this, then I
completely agree with Alan.

Should be trivial to fix.

Alan, I just wanted a _reason_.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to