It could well be. Try the patch in svn.
M
Lance Albertson wrote:
> Mark Burgess wrote:
>>> Furthermore, I thought : ok, let's comment out the unlinking of
>>> 'outputs/previous' in the source (2.2.7), recompile, and see. I
>>> should get an email once and only once. But I observed that no email
>>> was ever sent, even if the output of cfagent was different
>>> ("Previous output is the same..." ?!)
>>> I finally found out that FileChecksum() was not working as expected,
>>> because OpenSSL_add_all_digests() was not called around...
>>> After I added it, cfexecd would behave as expected.
>>
>> Thank you very much for seeing this! This is very well spotted!
>>
>>> As a conclusion :
>>> - why not keep 'outputs/previous' if CompareResult fails ?
>>> - OpenSSL_add_all_digests() should be called in cfexecd (bug)
>>> - is an identical mail really sent once per day ?
>>
>> Yes, I believe that an identical mail will be sent unless overridden
>> by a different message.
>
> Mark: Is this related to our problems with sending emails? We're in a
> similar situation where we have cfservd running in daemon mode, but do
> the actual runs in cron.
>
> Thanks!
>
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine