Server insists on wrong hostname

Ronald Klop ronald-lists at klop.ws
Tue Oct 14 08:13:36 UTC 2014


On Sat, 11 Oct 2014 11:25:56 +0200, Christian Alge <lists at 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.


More information about the freebsd-stable mailing list