For the last month or so I've been experiencing a problem with my
"cfexecd -F" process. In the morning I find that some of my "links"
declarations are "expired (after 3117/90 minutes)". cfengine processes
the config, but doesn't actually do anything during those 3000 odd
minutes.

After fixing and optimizing most of my conf files, I believe I've
tracked this down. It looks like when I use editfiles to modify a file
that I also enforce a link for, it causes the problem.

For insance, I have something like this (below), and when I modify the
aliases template I get this error the next time I run "cfagent -qv"

"Lock lock.cfagent_conf.charon.link._etc_aliases__etc_mail_aliases_3564
expired (after 3117/90 minutes)"

----
links:
      /etc/aliases -> /etc/mail/aliases

editfiles:
        { #aliases
        /etc/aliases
        AutoCreate
        EmptyEntireFilePlease
        InsertFile "${FileSource}/common/templates/aliases"
        ReplaceAll "<-SYSADM->" With "${sysadm}"
        DefineClasses "newaliases"
        }
----

Is this a bug?
Is there a work around?
I've eliminaed as many links declarations as I can, but there are sill
a few that I need.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--

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

Reply via email to