Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 10:12:45 +0200
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        freebsd-stable@freebsd.org
Subject:   Re: Server insists on wrong hostname
Message-ID:  <op.xnpnrjpfkndu52@ronaldradial.radialsg.local>
In-Reply-To: <5438F7A4.4070908@burnus.net>
References:  <5438F7A4.4070908@burnus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 11 Oct 2014 11:25:56 +0200, Christian Alge <lists@burnus.net>  
wrote:

> Hi,
>
> I am operating a FreeBSD 10.0-STABLE server and once upon a time I
> decided to change its hostname. I edited it in /etc/rc.conf, /etc/hosts
> and /etc/defaults/rc.conf. I also set it by invoking `sudo hostname`,
> but every time I restart it, it aquires the old name again. I fail to
> see, where that setting comes from. Can any of you help me out with
> that? Thanks in advance.


There is no need to edit /etc/default/rc.conf. The setting in rc.conf  
overrides it.
It can be useful to post your config files. Maybe somebody spots a  
spelling error for example.

Ronald.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.xnpnrjpfkndu52>