Bug 110225 - Hostname can not be changed from "localhost"
Summary: Hostname can not be changed from "localhost"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 1
Hardware: athlon
OS: Linux
high
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-17 09:56 UTC by Jules Colding
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-11-17 14:31:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jules Colding 2003-11-17 09:56:40 UTC
Description of problem:
It is not possible to change the hostname across reboots using the
"hostname" utility 


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

How reproducible:
Everytime

Steps to Reproduce:
1. Add <NAME> to /etc/hosts
2. Do "hostname <NAME>" in a terminal as root
3. Reboot
4. Observe that the hostname has regressed to "localhost"
  
Actual results:
Hostname has regressed to "localhost"

Expected results:
The hostname should be <NAME>

Additional info:

Comment 1 Tim Waugh 2003-11-17 14:31:05 UTC
That's not what hostname(1) is for.  Use redhat-config-network.


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