> -----Original Message-----
> From: Ron Johnson [mailto:ron.l.john...@cox.net] 
> Sent: Thursday, 18 March, 2010 13:44
> To: debian-user@lists.debian.org
> Subject: Re: why does resolv.conf change?
> 
> On 2010-03-18 16:14, Clive McBarton wrote:
> > 
> > To make my original question more precise: I want the stuff 
> I write into
> > resolv.conf to persist, but it does not have to be in that file. I'm
> > happy to write things elsewhere as long as *some place* 
> makes my changes
> > persistent.
> > 
> 
> You must have missed the BIG BOLD LETTERS that tell you not to write 
> into resolv.conf by hand.
> 
> $ cat /etc/resolv.conf
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by 
> resolvconf(8)
> #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE 
> OVERWRITTEN
> nameserver xx.yy.zz.aa
> nameserver xx.yy.zz.bb
> search snagglefrob
> 

Well the OP can fix that.  First, edit resolv.conf to look the way you want it 
to.

Then:

r...@linux# chattr +i /etc/resolv.conf

If I follow the thread correctly the OP said that he uninstalled resolvconf.  
After he makes /etc/resolv.conf immutable, whatever else wants to change 
resolv.conf and finds out that it can't will probably show up in the eventlog 
complaining.

Then the OP can find and either configure or get rid of the offending app.

James

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/4a09477d575c2c4b86497161427dd94c149f788...@city-exchange07

Reply via email to