Hi.  I am on CentOS 5.5.  When I run cf-agent for the first time, it
complains:
"File /var/spool/cron/crontabs/root was marked for editing but could
not be opened"
and is not able to insert the 5 minute schedule to root crontab.

To fix this, change in site.cf, from:

bundle common g
{
vars:

  SuSE::

   "crontab" string => "/var/spool/cron/tabs/root";

 !SuSE::

   "crontab" string => "/var/spool/cron/crontabs/root";
}


to:


bundle common g
{
vars:

  SuSE::

   "crontab" string => "/var/spool/cron/tabs/root";

  redhat::

   "crontab" string => "/var/spool/cron/root";

 (!SuSE).(!redhat)::

   "crontab" string => "/var/spool/cron/crontabs/root";
}

Best,
-at
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to