Bug 819535 - syslog logging support
Summary: syslog logging support
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cronie
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-07 13:55 UTC by Marcela Mašláňová
Modified: 2012-11-22 14:24 UTC (History)
3 users (show)

Fixed In Version: cronie-1.4.9-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-22 14:24:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marcela Mašláňová 2012-05-07 13:55:24 UTC
There are problems with syslog logging without installed sendmail.

For example:
May  4 14:12:00 <host> /usr/sbin/crond[1239]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
May  4 14:30:46 <host> anacron[1582]: Can't find sendmail at /usr/sbin/sendmail, not mailing output
May  4 14:31:35 <host> /usr/sbin/crond[1239]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory

It's a little different on my local machine, but there should be fixed how is cronie working without sendmail and with(out) -s option. Reporter of the bug was complaining about the incorrect bug report in log file. I'm concerned more about my error messages. It's too much of them for one error.

May  7 15:52:01 localhost /USR/SBIN/CROND[21209]: (root) CMD (mail blabl)
May  7 15:52:01 localhost /USR/SBIN/CROND[21205]: (root) CMDOUT (No message, no subject; hope that's ok)
May  7 15:52:01 localhost /USR/SBIN/CROND[21205]: (root) CMDOUT (/usr/sbin/sendmail: No such file or directory)
May  7 15:52:01 localhost /USR/SBIN/CROND[21205]: (root) CMDOUT (. . . message not sent.)
May  7 15:52:01 localhost /USR/SBIN/CROND[21211]: (CRON) EXEC FAILED (/usr/sbin/sendmail): No such file or directory
May  7 15:52:01 localhost /USR/SBIN/CROND[21205]: (root) MAIL (mailed 109 bytes of output but got status 0x0001#012)

Comment 1 Marcela Mašláňová 2012-07-24 11:41:06 UTC
I guess this was fixed by upstream commit c64bf0455634c81068445fe323541b1d6ba26094


Note You need to log in before you can comment on or make changes to this bug.