FS#29722 - [cronie] Missing sendmail causes error entries
Attached to Project:
Arch Linux
Opened by SJ_UnderWater (SJ_UnderWater) - Thursday, 03 May 2012, 00:21 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 04 May 2012, 19:19 GMT
Opened by SJ_UnderWater (SJ_UnderWater) - Thursday, 03 May 2012, 00:21 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 04 May 2012, 19:19 GMT
|
Details
Description:
Missing "optional" sendmail binary causes entries in the error log at every boot, even though they are marked "INFO". Suggested changes below (untested). Additional info (original above new): runjob.c: complain("Can't find sendmail at %s, not mailing output", SENDMAIL); explain("Can't find sendmail at %s, not mailing output", SENDMAIL); cron.c: log_it("CRON", pid, "INFO","Syslog will be used instead of sendmail.", errno); log_it("CRON", pid, "INFO","Syslog will be used instead of sendmail.", 0); Steps to reproduce: Restart crond. |
This task depends upon
As it is, cronie appears to fail gracefully without sendmail, instead of working with it optionally.
- smtp-server really is optional in the sense that cronie runs fine without it.
- INFO logs are not errors.
I believe you overestimate the severity of those two messages, when the package runs perfectly normally.
Could you send this bug report together with your patch to "mmaslano AT redhat DOM com "?