Bug 137762

Summary: DNS is not saved
Product: [openSUSE] SUSE Linux 10.1 Reporter: palo severa <pavol.severa>
Component: NetworkAssignee: Martin Vidner <mvidner>
Status: RESOLVED DUPLICATE QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 3   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: here is the y2log
resolv.conf as written out by NM, with new patch

Description palo severa 2005-12-09 10:29:51 UTC
In 10.1 alpha3, when I use yast to set up network (no DHCP), the IPs of nameservers I put in are not saved. I had to change resolve.conf manually (after that the network works)
Comment 1 Martin Lasarsch 2005-12-09 11:09:36 UTC
please try again changing the nameserver and
provide more information:

/var/log/YaST2/y2log
Comment 2 palo severa 2005-12-09 13:23:22 UTC
Created attachment 60191 [details]
here is the y2log
Comment 3 palo severa 2005-12-09 13:38:09 UTC
sorry, forgot to write what actually happened now:
I ran again yast, set the nameserver there; the result was 
as before, resolv.conf got empty again (except for the line 
#don't-edit-this-file)
Comment 4 Martin Vidner 2005-12-12 15:51:58 UTC
NetworkManager overwrites that file. 
Yast checks whether there is a "Process" header written by modify_resolvconf(8) but obviously the #don't edit line does not match.
Robert, can you use modify_resolvconf or at least write a Process line?
Comment 5 Robert Love 2005-12-12 21:55:49 UTC
You want me to have NM add the line

# Process:      /usr/bin/NetworkManager

to /etc/resolv.conf?
Comment 6 Robert Love 2005-12-12 22:05:05 UTC
Okay, I modified NM to write out /etc/resolv.conf as attached.
Comment 7 Robert Love 2005-12-12 22:05:44 UTC
Created attachment 60344 [details]
resolv.conf as written out by NM, with new patch
Comment 8 Robert Love 2005-12-12 22:05:54 UTC
Good?
Comment 9 Robert Love 2005-12-14 19:44:30 UTC
Submitted NM to autobuild with this change.

Let me know if you need more.
Comment 10 Ihno Krumreich 2006-05-04 20:12:30 UTC
Is this still valid?
Comment 11 Martin Vidner 2006-05-05 08:27:41 UTC
It is fixed as per bug 171488 comment 7

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