Bug 110225 - Hostname can not be changed from "localhost"
Summary: Hostname can not be changed from "localhost"
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
(Show other bugs)
Version: 1
Hardware: athlon Linux
high
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Keywords:
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:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-11-17 14:31:05 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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.