Bug 110225

Summary: Hostname can not be changed from "localhost"
Product: [Fedora] Fedora Reporter: Jules Colding <jules>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-17 09:31:05 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jules Colding 2003-11-17 04:56:40 EST
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 09:31:05 EST
That's not what hostname(1) is for.  Use redhat-config-network.