Dear Neil,

  Thanks for your reply.   Yes, the root crontab did exist (in my
case).  The problem is that Cfengine didn't know about Red Hat systems
and was using an invalid (for Red Hat) path to the root crontab:
/var/spool/cron/crontabs/root  -- the correct path (on Red Hat) is
/var/spool/cron/root  (no "crontabs" subdirectory under
"/var/spool/cron").

  Just needs a tweak to site.cf to make it work out of the box on Red
Hat and Fedora and CentOS systems.  Maybe this fix could make it into
3.1.0 final.

Best,
-at


On Fri, Oct 15, 2010 at 4:19 PM,  <no-re...@cfengine.com> wrote:
> Forum: Cfengine Help
> Subject: Re: feedback on 3.1.0b2: bootstrap into root crontab fails on 
> CentOS: "File /var/spool/cron/crontabs/root was marked for editing but could 
> not be opened"
> Author: neilhwatson
> Link to topic: https://cfengine.com/forum/read.php?3,18770,18772#msg-18772
>
> Does the file /var/spool/cron/root exist?  Cf will not create a new file 
> unless told to do so.
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to