[arch-projects] hostname regression

Thomas S Hatch thatch45 at gmail.com
Thu Jun 9 16:55:50 EDT 2011


On Thu, Jun 9, 2011 at 2:53 PM, Thomas Bächler <thomas at archlinux.org> wrote:

> Am 09.06.2011 22:15, schrieb Tom Gundersen:
> > The question remains: what to do with initscripts. It just needs to
> > set the hostname, seems silly to pull in net-tools or inetutils just
> > for this...
>
> Why would it be silly? Anyway:
>
> echo $HOSTNAME > /proc/sys/kernel/hostname
>
> No external tools required.
>
>
Thanks, I was about to add that. as far as I know that is all setting the
hostname does.

Also, it would be nice if the hostname command maintained backwards
compatibility, a number of my scripts just broke because hostname no longer
has the -f option.

-Thomas S Hatch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110609/71399761/attachment.html>


More information about the arch-projects mailing list