Bug 502505 - Value of HOSTNAME= in /etc/sysconfig/network is not changed by anaconda during install (nor, by the way, by the hostname command after install)
Summary: Value of HOSTNAME= in /etc/sysconfig/network is not changed by anaconda durin...
Keywords:
Status: CLOSED DUPLICATE of bug 492515
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:
TreeView+ depends on / blocked
 
Reported: 2009-05-25 14:44 UTC by Peter Trenholme
Modified: 2009-06-04 03:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-04 03:05:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Trenholme 2009-05-25 14:44:57 UTC
Description of problem:
Hostname in /etc/sysconfig/network is not set to the value entered during the installation from the prerelease live CD

Version-Release number of selected component (if applicable):


How reproducible:
Every time I've tried it.

Steps to Reproduce:
1. Burn LiveCD
2. Select "Install to HD
3. Enter a hostname when prompted
  
Actual results:
/bin/hostname returns localhost.localdomain

Expected results:
/bin/hostname returns entered string

Additional info:
Changing the HOSTNAME= value in /etc/sysconfig/network fixes the problem

Comment 1 David Cantrell 2009-06-04 03:05:34 UTC
Confirmed that commit 5ebb7235d36390fa72faa730c1f5a452e3432eb1 fixes this problem.  The hostname entered during installation is written to the HOSTNAME= line in /etc/sysconfig/network.

This fix is present in anaconda-11.5.0.50-1 and later builds.

The hostname of the running system is not altered by anaconda.  The hostname you enter is written to /etc/sysconfig/network on the target system.

Comment 2 David Cantrell 2009-06-04 03:06:26 UTC

*** This bug has been marked as a duplicate of bug 492515 ***


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