Date: Sat, 11 Oct 2014 16:25:01 +0200 From: Michelle Sullivan <michelle@sorbs.net> To: Christian Alge <lists@burnus.net> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: Server insists on wrong hostname Message-ID: <54393DBD.4030602@sorbs.net> In-Reply-To: <54393C76.7090702@burnus.net> References: <5438F7A4.4070908@burnus.net> <54392A57.7020704@sorbs.net> <54393142.4050005@burnus.net> <5439326B.3070508@sorbs.net> <54393C76.7090702@burnus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mailto:lists@burnus.net> >> 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 <mailto:michelle@sorbs.net> >> 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 <mailto:lists@burnus.net> >> 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 <mailto:michelle@sorbs.net> >> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54393DBD.4030602>