Bug 439309 - hostname ends up as localhost, despite dns resolution
Summary: hostname ends up as localhost, despite dns resolution
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
 
Reported: 2008-03-27 23:49 UTC by Dave Jones
Modified: 2015-01-04 22:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-08 17:57:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2008-03-27 23:49:08 UTC
anaconda picked up the hostname of the machine I was installing from DNS. I
changed the setting from 'manual' to 'obtain from DNS', and when I rebooted the
installed system, the hostname ended up as 'localhost.localdomain'.

Comment 1 Jesse Keating 2008-04-03 19:42:20 UTC
So when I fill in the host name manually I keep that hostname upon reboot. Maybe
this is only when you're autofilled for the hostname via dhcp.  I'll try that
mode next.

Comment 2 Jesse Keating 2008-04-08 17:57:57 UTC
I've verified with multiple installs.  This no longer happens, the host name
gotten from dhcp during install remains the hostname upon boot, listed in
/etc/hosts.

Comment 3 Rex Dieter 2008-04-08 18:35:02 UTC
weird, I just updated a f9 box here, rebooted, hostname was still localhost.

Comment 4 Rex Dieter 2008-04-08 18:46:45 UTC
fwiw, /etc/sysconfig/network-scripts/efcfg-eth0 contained
DHCP_HOSTNAME=foo
correctly, but actual hostname wasn't set.

Comment 5 Jesse Keating 2008-04-08 19:04:30 UTC
That's odd.  However we're talking about new installs, not upgrades.

What's in your /etc/hosts/ file and /etc/sysconfig/network ?

Comment 6 Rex Dieter 2008-04-08 19:20:02 UTC
rats, /etc/sysconfig/network contained:
HOSTNAME=localhost.localdomain
thx!


Note You need to log in before you can comment on or make changes to this bug.