> - the email is sent every hour, because :
>  (1) two instances of cfexecd are launched at about the same time
>  (2) the latest one has "nothing to report" (since the other is running => 
> nothing promised => nothing done) and, thus, unlinks 'outputs/previous' (?!)
>  (3) the first one can't CompareResult() with the 'outputs/previous' file, so 
> it sends out the same email

Dear Mark,

sorry to insist, but to get the expected behavior from cfexecd, I had to :
- add OpenSSL_add_all_digests()
- *and* comment out, in cfexecd.c rev 581, lines 852-856

When running cfexecd daemon + cfexecd -F in cron, these lines are really 
problematic.

If there's no purpose of deleting 'outputs/previous' in case there's nothing to 
report, would it be conceivable to remove lines 852-856 from the sources ?

_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to