NetworkManager constantly overwriting /etc/resolve.conf - how to disable?
On Mon, 2009-11-30 at 00:55 +0200, Rudi Ahlers wrote:
> On Mon, Nov 30, 2009 at 12:13 AM, Tosh <email@example.com> wrote:
> > Add to /etc/sysconfig/network-scripts/ifcfg-ethX
> > The following 2 lines :
> > PEERDNS=no
> > NM_CONTROLLED=no
> > Line 1 tells the the if commands not to override /etc/resolv.conf
> > Line 2 tells NetworkManager that it doens't have control over that
> > ethernet controller
> As matter of interest, since I don't see those options on our other
> servers (which doesn't have this behaviour and they're also on CentOS
> 5.4), are these settings new? OR do I have something else installed
> that is causing this?
They are rather old config options.
See /usr/share/doc/initscripts-*/sysconfig.txt. It's explain all options
using in most of the /etc/sysconfig files.