help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resolv.conf being maintained whether I like it or not


From: Chip Seraphine
Subject: Re: Resolv.conf being maintained whether I like it or not
Date: Mon, 19 Sep 2005 10:35:28 -0500
User-agent: Mozilla Thunderbird 1.0.5 (X11/20050711)

ARGH!  Thanks, Atom.  That's exactly it.

DHCP stomps on the resolv.conf, and my file copying bit won't overwrite it because the newly generated file is newer than the master copy. I'm an idiot!

Nevermind, nothing to see here.... :)

Atom Powers wrote:

That sounds more like your DHCP lease getting renewed than cfengine.

On 9/19/05, Chip Seraphine <chip@trdlnk.com> wrote:
I am getting desperate on this one. Cfengine is stepping on my
resolv.conf files on my Linux boxes (but not my Suns!) despite the
resolve: section being commented out *and* "resolve" being completely
removed from the actionsequence.

This happens sporadically and randomly; I cannot get it to occur when
running cfagent by hand, but it happens every night somewhere between
10pm and 6am (often not at the same time).

Even more strangely, no resolv.conf appears in my repository. It's as if
the file is vanishing and cfengine is creating a new one. I've had
scripts monitor the file, however, and this is not the case; the
resolv.conf is happy and fine until cfengine stomps on it and replaces
it with a very bare-bones file (no search path except the host's domain,
one DNS).

Any ideas? My users are rioting here.


(I originally sent this to bug-, but am trying again with the help- list
instead.)

Chip Seraphine wrote:

In 2.1.15 on Linux:

I'm finding that the resolv.conf is rebuilt even if the "resolve:"
action is *not* in the actionsequence. The expected behavior (as per
the Reference) would be that the resolve: stuff would be inert if not
triggered from actionsequence.



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine









reply via email to

[Prev in Thread] Current Thread [Next in Thread]