How to stop NetworkManager from frobbing my /etc/resolv.conf

Craig White craigwhite at azapple.com
Sun Sep 26 22:11:48 UTC 2010


On Sun, 2010-09-26 at 16:27 -0400, Tom Horsley wrote:
> On Sun, 26 Sep 2010 09:56:34 -0700
> Craig White wrote:
> 
> > PEERDNS=no
> 
> Which you have to put in each ifcfg-* script managed by
> NetworkManager.
> 
> Or if you are lazy you can always use the giant hammer:
> 
> chattr +i /etc/resolv.conf
> 
> (which I've had to do on some linux distros that grant
> the resolve.conf update algorithms the protection of
> the Obfuscation Gods :-).
----
I would probably classify that as pathologically stupid system
administration considering the relative ease you can change even a lot
of ifcfg-* scripts with a simple sed command but the great thing about
UNIX/Linux is that the superuser is entitled to admin his own box - even
with really bad conceptual practices.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the users mailing list