From owner-freebsd-stable@FreeBSD.ORG Tue Oct 14 08:13:36 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5510CAF8 for ; Tue, 14 Oct 2014 08:13:36 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16BAC8E2 for ; Tue, 14 Oct 2014 08:13:35 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1XdxDq-0006ow-Sj for freebsd-stable@freebsd.org; Tue, 14 Oct 2014 10:13:27 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-stable@freebsd.org Subject: Re: Server insists on wrong hostname References: <5438F7A4.4070908@burnus.net> Date: Tue, 14 Oct 2014 10:12:45 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <5438F7A4.4070908@burnus.net> User-Agent: Opera Mail/12.17 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: -- X-Spam-Score: -2.9 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED, BAYES_00 autolearn=disabled version=3.3.2 X-Scan-Signature: 74b82c602e180a6a7275945acf229479 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 08:13:36 -0000 On Sat, 11 Oct 2014 11:25:56 +0200, Christian Alge 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.