sys-process/vixie-cron-4.1-r10 The string: "mailed %d byte%s of output but got status 0x%04x\n" is newline-terminated, which is improper for a string passed to log_it(). It looks like this used to be sent to Debug(), which does require a newline termination, but was changed to a log message without removing the newline. The typo is on line 508 of do_command.c. Reproducible: Always Steps to Reproduce: 1. ensure the hostname 'mail' is unresolvable 2. start a cron job that outputs something on stdout 3. observe the miswritten error message in syslog Actual Results: The following lines appear in /var/log/messages: Nov 12 10:01:58 myhostname sSMTP[26991]: Unable to locate mail Nov 12 10:01:58 myhostname sSMTP[26991]: Cannot open mail:25 Nov 12 10:01:58 myhostname cron[25607]: (root) MAIL (mailed 45 bytes of output but got status 0x0001 Nov 12 10:01:58 myhostname ): Expected Results: Should have seen: Nov 12 10:01:58 myhostname sSMTP[26991]: Unable to locate mail Nov 12 10:01:58 myhostname sSMTP[26991]: Cannot open mail:25 Nov 12 10:01:58 myhostname cron[25607]: (root) MAIL (mailed 45 bytes of output but got status 0x0001)
Created attachment 210046 [details, diff] fixes typo
This is still applicable to vixie-cron-4.1-r12
Package removed.