Bug 595708 - resolv.conf created by NetworkManager incompatible with netconfig
Summary: resolv.conf created by NetworkManager incompatible with netconfig
Status: RESOLVED FIXED
: 623190 (view as bug list)
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Network (show other bugs)
Version: Factory
Hardware: i586 openSUSE 11.3
: P3 - Medium : Normal (vote)
Target Milestone: Milestone 7
Assignee: Bin Li
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 11:36 UTC by Robin Knapp
Modified: 2016-04-15 11:00 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Knapp 2010-04-12 11:36:06 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Found this after installation in /var/log/messages and on boot console:

Apr 12 12:20:46 linux dns-resolver: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Apr 12 12:20:46 linux dns-resolver: You can find my version in /etc/resolv.conf.netconfig

/etc/resolv.conf contains:
# Generated by NetworkManager
domain localdomain
search localdomain
nameserver 192.168.126.2


the nameserver is my vmware gw

Reproducible: Always

Steps to Reproduce:
1. perform live cd installation
2. check boot console and /var/log/messages for above message
Comment 1 Robin Knapp 2010-04-12 11:46:33 UTC
Sorry, it's not a Live-CD Issue as this also happens in an installed system:

1. rcnetwork stop
2. rm /etc/resolv*
set NETWORKMANAGER="yes" in /etc/sysconfig/network/config
3. rcnetwork start

-> resolv.conf is missing netconfig header

4. rcnetwork stop complains about modified resolv.conf
Comment 6 Bin Li 2010-05-17 10:59:54 UTC
->Fixed. I'll submit it later with other patches. Maybe in next release

This was caused by not process the correct value of dispatch_netconfig().
Comment 7 Bin Li 2010-06-09 11:25:42 UTC
->Done.

 41285  State:new     By:BinLi        When:2010-06-09T13:24:44
        submit:       home:BinLi:branches:GNOME:Factory/NetworkManager  ->  GNOME:Factory          
        Descr: NIS support and update resolv.conf once(bnc#608677, bnc#595708,
               bnc#544195, bnc#537907)
Comment 8 Bin Li 2010-07-20 04:42:55 UTC
*** Bug 623190 has been marked as a duplicate of this bug. ***
Comment 9 Bernhard Wiedemann 2016-04-15 11:00:34 UTC
This is an autogenerated message for OBS integration:
This bug (595708) was mentioned in
https://build.opensuse.org/request/show/42233 11.3 / NetworkManager