Bug 171124

Summary: NetworkManager always overwrites resolv.conf
Product: [openSUSE] SUSE Linux 10.1 Reporter: Forgotten User mbQyAD5r4K <forgotten_mbQyAD5r4K>
Component: NetworkAssignee: Martin Vidner <mvidner>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: robert.vojta, suse-beta
Version: RC 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User mbQyAD5r4K 2006-05-01 02:18:17 UTC
I've got a laptop with RC3 that uses NetworkManager but as well runs its own nameserver thus I need to have localhost and a list of my domains in /etc/resolv.conf. I switched off the "update list of nameservers and domains from DHCP" in YaST but NetManager doesn't seem to honor this setting. It's quite annoying to need to fix resolv.conf everytime I plug in an ethernet cable or join a wifi net.
Comment 1 Michael Gross 2006-05-02 12:58:34 UTC
Please attach /etc/sysconfig/network as tarball.
Comment 2 Robert Love 2006-05-02 14:51:18 UTC
Actually, I just need the result of

    % grep MODIFY_RESOLV_CONF_DYNAMICALLY /etc/sysconfig/network/config

NM _does_ respect that variable.
Comment 3 Forgotten User mbQyAD5r4K 2006-05-02 22:13:07 UTC
MODIFY_RESOLV_CONF_DYNAMICALLY was set to "yes" regardless what if I switch it off in YaST -> Network Devices -> Network Cards -> Use NetManager -> Modify -> Hostname&resolver.

After manually setting the variable to "no" my resolv.conf is not being overwritten anymore. 

However there is apparently a bug somewhere in YaST (?) because the variable isn't modified as expected. 

Reproducible, try yourself.
Comment 4 JP Rosevear 2006-05-03 13:54:25 UTC
Moving to yast network module maintainer.
Comment 5 Stanislav Visnovsky 2006-05-03 15:22:52 UTC
Please, attach the YaST logs files ;-)
Comment 6 Robert Vojta 2006-05-04 05:47:07 UTC

*** This bug has been marked as a duplicate of 169858 ***