Bug 141229

Summary: Network Manager does not restore resolv.conf on exit
Product: [openSUSE] SUSE Linux 10.1 Reporter: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Component: NetworkAssignee: Robert Love <rml>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: mvidner
Version: Alpha 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Component Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 140732    

Description Forgotten User ZhJd0F0L3x 2006-01-03 13:36:43 UTC
I wanted to configure some network interfaces with static ip (eth0 and a wlan interface), so i deselected "managed by networkmanager" in Yast2 and configured them.
When i wanted to configure the hostname, yast told me that "service NetworkManager has changed resolv.conf, blablabla, come again later".
So i cofnigured everything, yast restarted the network, i confirmed that NM was not running, re-entered yast and wanted to set the hostname.
Yast still told me that "service NM has changed resolv.conf blablabla", so i figured that nm failed to restore resolv.conf on exit.
Comment 1 Robert Love 2006-01-07 22:35:36 UTC
Hrm, Martin had me add the tags to resolv.conf, but now it seems that YaST is upset.

Martin, do I have any options here other than restoring resolv.conf on exit?  There really isn't any reason to restore resolv.conf on an NM-using system -- what would we restore it to?  Seems silly.

Also, by not restoring it, users without DHCP can provide a static configuration.

So I would prefer that YaST just not complain.  Is it refusing to continue?  Martin, is there anything else we can do?
Comment 2 Robert Love 2006-01-27 21:37:06 UTC
Seife: This is no longer an issue with current YaST and NM, correct?
Comment 3 Robert Love 2006-02-01 18:30:44 UTC
Should be fixed.
Comment 4 Forgotten User ZhJd0F0L3x 2006-06-13 10:40:30 UTC
works in 10.1 final.