Re: cfexecd not sending emails

Mark Burgess <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.