FS#12662 - [dcron] Missing MTA dependancy in dcron
Attached to Project:
Arch Linux
Opened by Henk van de Kamer (hvdkamer) - Sunday, 04 January 2009, 11:55 GMT
Last edited by Paul Mattal (paul) - Monday, 25 January 2010, 13:37 GMT
Opened by Henk van de Kamer (hvdkamer) - Sunday, 04 January 2009, 11:55 GMT
Last edited by Paul Mattal (paul) - Monday, 25 January 2010, 13:37 GMT
|
Details
Description:
I found the follewing in /var/log/crond due to 02-Jan-2009 00:02 unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null02-Jan-2009 01:01 FILE /var/spool/cron/root USER root pid 3439 cmd /usr/sbin/run-cron /etc/cron.hourly IMHO dcron needs an MTA and for most computers it is enough to have a smtp-fowarder like the ssmtp package. I suggest that the dcron package gets a dependancy in such a way that ssmtp, exim, postfix or whatever MTA is at least installed. I also suggest that ssmtp becomes the default and therefor moves to the base install. Additional info: [root@ve180 ~]# pacman -Qi dcron Name : dcron Version : 3.2-3 Steps to reproduce: Create a cron job which has output. |
Closed by Paul Mattal (paul)
Monday, 25 January 2010, 13:37 GMT
Reason for closing: Fixed
Additional comments about closing: added optdepend in dcron 4.4-1
Monday, 25 January 2010, 13:37 GMT
Reason for closing: Fixed
Additional comments about closing: added optdepend in dcron 4.4-1
Wikipedia says "Cron is a time-based job scheduler in Unix-like computer operating systems. 'cron' is short for 'chronograph'". This is correct. Without an MTA installed, dcron does this exactly as it should. As such, that makes the MTA _additional functionality_ and is not required to operate properly.
However, we will most likely be replacing dcron soon.
Even though we may well switch to bcron, I'll give tpowa (as maintainer) until 1/10 to object and then add the MTA optdepend to dcron.