Bug 492515
| Summary: | liveinst, hostname set during anaconda does not stick | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Warren Togami <wtogami> |
| Component: | anaconda | Assignee: | David Cantrell <dcantrell> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | b.bellec, jrb, pjones, PTrenholme, rmaximo, vanmeeuwen+fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-05-06 18:31:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Warren Togami
2009-03-27 07:08:52 UTC
Still broken in F11 Snapshot1 Live install. On the newly booted system that you installed via the livecd, what is in /etc/hosts and /etc/sysconfig/network? *** Bug 495419 has been marked as a duplicate of this bug. *** Hello,
I have also this bug with the F11 Preview (install from the Gnome LiveCD x86).
And when I re-set the hostname (with the command "hostname my_computer_name" in root), this was not stored and at the next boot the default hostname ("localhost.localdomain") is still set.
After re-set the hostname, the file "/etc/hosts" and "/etc/sysconfig/network" still indicate "localhost.localdomain". But the gnome-system-monitor indicate the new hostname (during the current session and it's reset after reboot).
As of commit c1aaab41558216ea1ba16400aaad60657fa76dae, anaconda no longer does anything with /etc/hosts (see bug #491808). However, we still write out /etc/sysconfig/network, which contains HOSTNAME. I've patched anaconda so that HOSTNAME contains the value you enter in anaconda during a LiveCD install. Submitted patch for review by the team. Fixed in anaconda-11.5.0.50-1.fc11 and later. *** Bug 502505 has been marked as a duplicate of this bug. *** |