[CentOS] NetworkManager constantly overwriting /etc/resolve.conf - how to disable?

Mon Nov 30 07:27:04 UTC 2009
Szabo Akos <fonya at fatav.hu>

Hi,

On Mon, 2009-11-30 at 00:55 +0200, Rudi Ahlers wrote: 
> On Mon, Nov 30, 2009 at 12:13 AM, Tosh <toshlinux at gmail.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.

-- 
Szabo Akos <fonya at fatav.hu>
Fatav Bt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20091130/ec5f3ff3/attachment-0003.sig>