From owner-freebsd-stable@FreeBSD.ORG Sat Oct 11 13:32:20 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 672233B6 for ; Sat, 11 Oct 2014 13:32:20 +0000 (UTC) Received: from burnus.net (burnus.net [85.214.218.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2BFDF7E2 for ; Sat, 11 Oct 2014 13:32:19 +0000 (UTC) Received: from nullzonenkonverter.lan (unknown [80.140.113.173]) by burnus.net (Postfix) with ESMTPSA id 13FB82872249 for ; Sat, 11 Oct 2014 15:32:17 +0200 (CEST) Message-ID: <54393142.4050005@burnus.net> Date: Sat, 11 Oct 2014 15:31:46 +0200 From: Christian Alge User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: FreeBSD-STABLE Mailing List Subject: Re: Server insists on wrong hostname References: <5438F7A4.4070908@burnus.net> <54392A57.7020704@sorbs.net> In-Reply-To: <54392A57.7020704@sorbs.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Sat, 11 Oct 2014 13:32:20 -0000 Thanks for your quick answer. The DHCP server is configured to assign the correct hostname to this server's MAC. /etc/rc.conf states the correct hostname, /etc/rc.conf.local does not exist. Neither do /usr/local/etc/rc.conf*. > Christian Alge > 11. Oktober 2014 11:25 > 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. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > Michelle Sullivan > 11. Oktober 2014 15:02 > If DHCPd probably from the DHCP server(and client).. If not DHCP check > /etc/rc.conf and /etc/rc.conf.local. >