Red Hat Bugzilla – Bug 679876
dns does not seem to persist into /etc/resolv.conf
Last modified: 2016-04-26 10:17:40 EDT
Description of problem:
We setup up dns via first boot and /etc/resolv.conf does not get persisted.
Version-Release number of selected component (if applicable):
red hat enterprise virtualization hypervisor release 5.6 (8.1.el5)
build a rhev hypervisor
/etc/resolv.conf will be empty
Steps to Reproduce:
1 boot with rhev hypervisor
2 build machine
3 set dns
4 reboot machine
/etc/resolv.conf should contain dns entiries
I went ahead remounted the FS rw and then persisted the /etc/resolv.conf.
(In reply to comment #0)
> Description of problem:
> We setup up dns via first boot and /etc/resolv.conf does not get persisted.
> Version-Release number of selected component (if applicable):
> red hat enterprise virtualization hypervisor release 5.6 (8.1.el5)
> How reproducible:
> build a rhev hypervisor
> /etc/resolv.conf will be empty
> Steps to Reproduce:
> 1 boot with rhev hypervisor
> 2 build machine
> 3 set dns
> 4 reboot machine
> Actual results:
> Expected results:
> /etc/resolv.conf should contain dns entiries
> Additional info:
> I went ahead remounted the FS rw and then persisted the /etc/resolv.conf.
The DNS should be set in the network settings menu on RHEV-H, either statically or via DHCP. How are your NICS configured?
I noticed that we don't have a support case created for this. Please note that bugzilla is *not* a support tool. The proper workflow is to work through Red Hat support for issues such as this prior to creating bugs. If needed, the support team assisting you will file bugs with our engineering team.
Red Hat Support Supervisor
Hi Jeremy,Andrew ( I am a gps-er on site) we are creating a support case for this issue as well.
We set the network settings via menu on first boot / ovirt-conf...
After install and reboot the dns settings we set.. during firstboot were lost.
We will add the support case to the bug sorry for the confusion/incorrect process
I have created a case #00427279.
(In reply to comment #3)
> After install and reboot the dns settings we set.. during firstboot were lost.
This looks like dhclient-script is clearing resolv.conf see bug 675325
*** This bug has been marked as a duplicate of bug 675325 ***