On Wed, 12 Oct 2011 15:14:36 -0400 Tom H <tomh0...@gmail.com> wrote: > On Wed, Oct 12, 2011 at 12:37 PM, Celejar <cele...@gmail.com> wrote: > > On Wed, 12 Oct 2011 11:27:42 -0400 > > Tom H <tomh0...@gmail.com> wrote: > >> On Wed, Oct 12, 2011 at 10:13 AM, Celejar <cele...@gmail.com> wrote: > > > >> > Just rebooted my system, and the hostname is now set to > >> > 'new-host' (/etc/hostname still contains the correct hostname). Anybody > >> > seeing this, or understand why? > >> > >> What's the output of "sysctl kernel.hostname"? > > > > kernel.hostname = new-host > > So as far as the kern's concerned, "new-host" is the hostname. > > > >> Could now be getting your hostname from your dhcp server via dhclient or > >> via NM? > > > > Perhaps, although as I noted in a different message, I thought I saw > > this before the network was even set up. I'll have to check more > > carefully. > > > > In any event, I've used this system for years on various sorts of > > networks (mostly controlled by consumer grade SOHO router / firewall / > > wireless AP / DHCP servers running both the manufacturer's standard > > firmware as well as OpenWrt), with both static addressing as well as > > DHCP, and I've never seen this before today. > > You could have hit a combination of dhcp settings on the dhcp server > and dhclient settings on the laptop that forces your laptop to get a > hostname from the dhcp server. Anyway, I think that you said in > another post that this is happening before the network comes up; so > this isn't it... > > I vaguely remember (but could be misremembering!) someone reporting > something similar on Fedora where GNOME/GDM was setting the hostname. > You could check whether this is the issue by appending "text" to the > grub "linux" line.
I don't use GNOME/GDM (XFCE started via startx). > BTW, where are you seeing the new hostname? At the bash prompt (user@new-host). For a while I thought there was something messed up in my bash profile, until I finally realized that typing 'hostname' was yielding the wrong result ... Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111012153008.dee42109a4e5ac52aa21c...@gmail.com