Comment 7 for bug 276253

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 276253] Re: NM 0.7 sets hostname to localhost.localdomain instead of what is in /etc/hostname

On Sun, Dec 14, 2008 at 03:14:15AM -0000, Mark A. Hershberger wrote:
> I just upgraded to Intrepid and am seeing this. System would come up
> and set the name to "localhost.localdomain" and then "localhost" even
> though I had a name in /etc/hostname.
>
> Worse, my X session is started under the name "localhost.localdomain"
> and the hostname changes. After the name changes, I can't start any
> programs because the X server refuses to talk to them (unless I manually
> set the hostname or use "xhost +")
>
> >From my log file:
>
> Dec 13 11:35:32 dococt NetworkManager: <info> Setting system hostname to 'localhost.localdomain' (no default device)
> Dec 13 11:36:22 dococt NetworkManager: <info> hostname 'localhost'
>
> (Evidently the name is correctly set by /etc/init.d/hostname.sh during
> startup since syslog is logging "dococt" and not "localhost" or some
> variant.)
>

is nm-system-settings process running ... and what do you have in
/etc/NetworkManager/nm-system-settings.conf?

 - Alexander