Description of problem:
installing fedora preview, anaconda and/or network-manager does not make the
dns-entry given by the installation. this was also by the alpha and beta version
of fedora 9.
Version-Release number of selected component (if applicable):
install fedora preview and make the dns-entry by the installation and/or by the
network-manager after the installation. The dns-entry will not be written to
Steps to Reproduce:
The dns-entry will not be written to /etc/resolv.conf.
It should be written to /etc/resolf.conf.
I'm sorry if this is an network-manager bug.
This is a network-manager bug; No matter what I enter in the GUI, even after
installation, /etc/resolv.conf only has the following:
# generated by NetworkManager, do not edit!
So I have to manually enter my nameserver and search domains after each network
Of course, it is also a network-manager bug. But when i enter the dns-server by
the installation of fedora, it also should be in the resolv.conf. Does
network-manager make the entry by the installation?
anaconda writes out an /etc/resolv.conf file just fine. If you manually set your nameservers, we write
those to /etc/resolv.conf. If you are using DHCP to set the DNS information, we don't do anything to
This is a NetworkManager bug, but it may just be that we [anaconda] are not writing out a control file for
NetworkManager correctly. Reassigning to NM.
Dave: the problem with just writing /etc/resolv.conf is that it's not stable...
the DNS information is realy _per connection_, not global to the machine. So
we need to store DNS stuff in the ifcfg files these days, just like PPP does
with PEERDNS and DNS1, DNS2, DNS3. NM reads DNS1, DNS2, and DNS3, as well as
SEARCHES (or something like that) and will populate resolv.conf from these.
Well, actually the settings would be global, it's just that they depend on the active link at the time. I will
modify anaconda to write the DNS information out to the ifcfg-* file for now as well. Need to rework the
network configuration screen in anaconda anyway to account for some of the NM-related changes too.
Should this be reassigned to anaconda then?
*** Bug 444501 has been marked as a duplicate of this bug. ***
Yeah; let me know if you have any questions. Bill and I also settled on
"SEARCH=xxxxxxx" as the list of space-delimited search domains.
So something like:
The ifup-ppp stuff already uses DNS1/DNS2 so there's precedent at least. Thanks
for poking at this.
Fixed in rawhide. Each ifcfg-* file gets DNS#= lines, a SEARCH line if applicable, and NM_CONTROLLED=
written to it.