Bug 708602 - /etc/hosts is not adapted to the hostname chosen during installation
Summary: /etc/hosts is not adapted to the hostname chosen during installation
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Bill Nottingham
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-28 09:27 UTC by Clemens Eisserer
Modified: 2014-03-17 03:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-04 22:08:35 UTC
Type: ---


Attachments (Terms of Use)

Description Clemens Eisserer 2011-05-28 09:27:55 UTC
Description of problem:

I installed fedora 15'x xfce licecd, and although specifying "cebox" as my machine's hostname, /etc/host is not adapted properly:

/etc/hosts
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

When starting xfce without an internet connection, it complains: "could not look up the internet adress for your hostname. ...."

Wouldn't it make sence to add the specified hostname to /etc/hosts automatically?

Comment 1 Bill Nottingham 2011-05-31 17:05:27 UTC
Does installing 'nss-myhostname' fix this for you?

NetworkManager was changed in F-15 to not edit /etc/hosts, as that proved to be too problematic with various DHCP setups.

Comment 2 Bill Nottingham 2012-01-04 22:08:35 UTC
Closing, no response.


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