Red Hat Bugzilla – Bug 443592
empty resolv.conf file using static IP address setup
Last modified: 2008-04-28 08:26:16 EDT
Description of problem:
COnfiguring eth0 to use a static IP address and setting manual DNS entries in
system-config-network, when using systemwide NetworkManager, results in an empty
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. setup eth0 to use a static IP address and enter manual DNS entries
2. cat /etc/resolv.conf (to confirm entered DNS)
3. service NetworkManager restart
4. cat /etc/resolv.conf (empty file)
# Configured by NetworkManager (do not edit)
Adding a eth0 local configuration using the gnome applet works correctly, but
then eth0 would only work when logged into GNOME, and not in runlevel 3 for example.
Try putting DNS1=xxxxxx and DNS2=xxxxxx into your ifcfg-eth0 file (or whatever
the device name you're using is).
(In reply to comment #1)
> Try putting DNS1=xxxxxx and DNS2=xxxxxx into your ifcfg-eth0 file (or whatever
> the device name you're using is).
This works, but puts only DNS1 value in /etc/resolv.conf, DNS2 is ignored.
So it seems at least that system-config-network needs to be updated to be able
to edit DNS1 and DNS2 in the config filess....
Latest Koji builds fix this issue; please try: