[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cfexecd -F vs. cfexecd -Fp (editfiles)
From: |
Mark . Burgess |
Subject: |
Re: cfexecd -F vs. cfexecd -Fp (editfiles) |
Date: |
Wed, 7 Aug 2002 09:22:06 +0200 (MET DST) |
This is probably an issue of locking. If you have run this once
from update.conf then it would be too soon for it to be run
from cfagent.conf. Run with -v to check this. You can also
try updating to 2.0.4pre and see if it makes a difference.
M
On 6 Aug, Jason Cannon wrote:
> In update.conf I edit /var/spool/cron/root to add cfexecd -F if it doesn't
> exist. (Used the docs as an example.) In cfagent.conf I import several
> files to keep things tidy. (Used docs again as an example.) The edit of
> /var/spool/cron/root in the imported files does not occur if I run
> cfexecd -F, but does if I run cfagent or cfexecd -Fp. I don't seem to
> have this problem with anything else, just editfiles of
> /var/spool/cron/root. All the other import actions work. (Yes, editfiles
> is defined in the actionsequence of the first group I import and it works
> with other files like /etc/hosts, just not /var/spool/cron/root. Could it
> be the problem of editing the same file twice?? Once in update.conf and
> yet again in the imported file?)
>
>>From http://www.cfengine.org/docs/cfengine-Reference.html :
> -p (--parse-only) Parse file and then stop. Used for checking the syntax
> of a program. You do not have to be superuser to use this option.
> (Yes, this is from cfagent, but didn't find a cfexecd doc on parse-only.)
>
> I'm running Linux 2.4.18-5 with cfengine version 2.0.3.
>
> Is this a bug or did I miss the correct way to do this?
>
> Thanks!
>
> Jason
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~