Bug 446635 - NetworkManager generates somewhat bogus resolv.conf file
Summary: NetworkManager generates somewhat bogus resolv.conf file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 9
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-15 14:11 UTC by Tom Horsley
Modified: 2008-07-03 18:21 UTC (History)
3 users (show)

Fixed In Version: svn3675
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-03 18:21:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
resolv.conf (626 bytes, text/plain)
2008-05-24 01:15 UTC, Jesus M. Rodriguez
no flags Details

Description Tom Horsley 2008-05-15 14:11:11 UTC
Description of problem:

Here's a sample file generated by NetworkManager:

# generated by NetworkManager, do not edit!

domain ccur.xen

search ccur.xen

nameserver 129.134.30.167


Note that both domain and search are specified. This is sorta harmless,
but it would really be better to leave off domain and only use search since
search is more general and the directives actually conflict with only the
last one being used.

Version-Release number of selected component (if applicable):

NetworkManager-0.7.0-0.9.3.svn3623.fc9.x86_64

How reproducible:

Every boot.

Steps to Reproduce:
1. boot system, observe /etc/resolv.conf
  
Actual results:

conflicting directives

Expected results:

only a search directive

Additional info:

Comment 1 Jesus M. Rodriguez 2008-05-24 01:15:26 UTC
Created attachment 306557 [details]
resolv.conf

not sure if this is caused by suspending the laptop or not. But seems to be
duplicates.

Comment 2 Eric Mertens 2008-05-24 04:25:02 UTC
I've had the same experience as seen in the attached file where network manager
seems to accumulate every dns server it has ever seen and even has duplicate
entries in resolv.conf which often results in the wrong DNS server being selected.

Comment 3 Dan Williams 2008-07-02 23:17:42 UTC
Does updating to NetworkManager-0.7.0-0.10.svn3675 help the situation?

Comment 4 Eric Mertens 2008-07-03 17:11:56 UTC
Actually, I have NetworkManager-0.7.0-0.9.4.svn3675.fc9.x86_64 at the moment and
the problem seems to be gone now. I'm not experiencing this bug any more.


Comment 5 Dan Williams 2008-07-03 18:21:28 UTC
Ok, thanks for the update!


Note You need to log in before you can comment on or make changes to this bug.