> 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 Burgess
Web: http://www.iu.hio.no/~mark
Tlf: +47 22453272
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine