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

Tom H tomh0665 at
Mon Sep 27 01:52:58 UTC 2010

On Sun, Sep 26, 2010 at 7:54 PM, Tom Horsley <horsley1953 at> wrote:

> Some releases of ubuntu have been exceptionally stubborn.
> They don't use ifcfg-* scripts, and the docs available on the
> release didn't match the actual behavior of the system, so
> as opposed to spending several days of research, chattr
> was much simpler :-).

In Ubuntu, if you use NM, you have to set the DNS servers through the
NM applet. There's probably an NM xml file that can be edited if you
want to use the CLI - somewhere.

> I do wish providing comments in automagically generated
> config files like resolve.conf and others was a blocker for
> releases. If the generated file doesn't have an accurate
> comment describing how to modify the way it was generated,
> you shouldn't be able to inflict the release on the world,
> but right now opensuse seems to be the only distro I've
> seen that provides the comment.


More information about the users mailing list