Bug 171124 - NetworkManager always overwrites resolv.conf
Summary: NetworkManager always overwrites resolv.conf
Status: RESOLVED DUPLICATE of bug 169858
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: RC 3
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Martin Vidner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-01 02:18 UTC by Forgotten User mbQyAD5r4K
Modified: 2006-05-04 05:47 UTC (History)
2 users (show)

See Also:
Found By: Other
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 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 ***