Bug 110225 - Hostname can not be changed from "localhost"
Hostname can not be changed from "localhost"
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
athlon Linux
high Severity high
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2003-11-17 04:56 EST by Jules Colding
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-11-17 09:31:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
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):

How reproducible:

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.

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