From owner-freebsd-stable@FreeBSD.ORG Sat Oct 11 14:25:04 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 5500EF90 for ; Sat, 11 Oct 2014 14:25:04 +0000 (UTC) Received: from hades.sorbs.net (hades.sorbs.net [67.231.146.201]) by mx1.freebsd.org (Postfix) with ESMTP id 3F98DD7E for ; Sat, 11 Oct 2014 14:25:04 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from isux.com (firewall.isux.com [213.165.190.213]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0NDA00D2SAWMUT00@hades.sorbs.net> for freebsd-stable@freebsd.org; Sat, 11 Oct 2014 07:29:11 -0700 (PDT) Message-id: <54393DBD.4030602@sorbs.net> Date: Sat, 11 Oct 2014 16:25:01 +0200 From: Michelle Sullivan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.24) Gecko/20100301 SeaMonkey/1.1.19 To: Christian Alge Subject: Re: Server insists on wrong hostname References: <5438F7A4.4070908@burnus.net> <54392A57.7020704@sorbs.net> <54393142.4050005@burnus.net> <5439326B.3070508@sorbs.net> <54393C76.7090702@burnus.net> In-reply-to: <54393C76.7090702@burnus.net> Cc: FreeBSD-STABLE Mailing List 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 14:25:04 -0000 Christian Alge wrote: > Doesn't sound right indeed.. The name is being set to the server's > previous name ("Freie Energie" instead of "freieenergie"). Would that > issue in the hostname command also concern the output of `print -P %m`? > Also why would hostname do that? On a side note, I had the complete file > system searched for any file containing the old name and none was > returned. So where could it be stored? > > > Put the DHCP client in debug mode - it's most likely coming from the DHCP server (did you restart it after changing the config?) Michelle >> 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. >> >> Christian Alge >> 11. Oktober 2014 15:31 >> 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*. >> >> _______________________________________________ >> 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:36 >> >> Doesn't sound right... I assume its just the 'hostname' command that is >> reporting the wrong information? What is it being set/reset to? >> >> Michelle >> >> > _______________________________________________ > 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 http://www.mhix.org/