Red Hat Bugzilla – Bug 866516
hostname is "None" with no networking device
Last modified: 2012-11-23 06:34:09 EST
Description of problem:
I did a minimal installation of F18 Beta TC4. The resulting system's hostname is "None". Not really a good hostname.
Version-Release number of selected component (if applicable):
F18 Beta TC4
I guess 100%
Steps to Reproduce:
1. boot DVD
2. select minimal install
Created attachment 627465 [details]
Created attachment 627466 [details]
Created attachment 627467 [details]
Created attachment 627468 [details]
Created attachment 627469 [details]
Created attachment 627470 [details]
Created attachment 627471 [details]
(In reply to comment #0)
> Description of problem:
> I did a minimal installation of F18 Beta TC4. The resulting system's
> hostname is "None". Not really a good hostname.
Same problem here.
I found out that this applies only if you have no networking device. Bug 865009 caused that sometimes this was applied also to systems where you have a networking device, but NM just crashed.
It might also apply to systems where you have a networking device, but you have no network connection. I haven't tested that.
I did installation using netinstall with a wired connection and I get the hostname as "None".
So, I think the hostname is set to "None" regardless of whether networking device is present or not.
I just experienced the same behavior as in Comment 11. Netinstall with wired connection and the hostname is "None"
Happens also when network spoke is visited in GUI. Patch sent to list.
Updates image (for TC4, should probably work for TC5 too):
Another question in this context: Why is it not possible to set the hostname manually in fedora/anaconda 18-x?
anaconda-18.19-1.fc18 has been submitted as an update for Fedora 18.
This issue seems to be "fixed" in the TC5 image - anaconda 18.18.
The default hostname is set to "localhost" instead of "None".
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.19-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Still broken in anaconda 18.19. A machine with no NIC still defaults to None hostname (minimal installation done).
Yep, still broken for installations that present pre-hub standalone network spoke (i.e. network is not brought up automatically by dracut or NM). These cases should be fixed by patch for bug 868535.
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.
(868535 is closed.)
Verified fixed in anaconda 18.29.2.