[Bug 626318] New: logrotate cron job produces daily mail
http://bugzilla.novell.com/show_bug.cgi?id=626318 http://bugzilla.novell.com/show_bug.cgi?id=626318#c0 Summary: logrotate cron job produces daily mail Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andi-nbz@firstfloor.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 Since I updated my system from 11.1 to 11.3 I get daily mail from the cron daemon for the logrotate cronjob This always was due the echo -n "Reload syslog service" in the syslog init script, which gets called from logrotate I think. I commented this now out, but perhaps it should be fixed somehow in logrotate Any output from this command results in a mail from cron Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=626318
http://bugzilla.novell.com/show_bug.cgi?id=626318#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=626318
http://bugzilla.novell.com/show_bug.cgi?id=626318#c1
Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=626318
http://bugzilla.novell.com/show_bug.cgi?id=626318#c2
--- Comment #2 from Andi N Kleen
http://bugzilla.novell.com/show_bug.cgi?id=626318
http://bugzilla.novell.com/show_bug.cgi?id=626318#c
Andi N Kleen
http://bugzilla.novell.com/show_bug.cgi?id=626318
http://bugzilla.novell.com/show_bug.cgi?id=626318#c3
Christopher Hofmann
http://bugzilla.novell.com/show_bug.cgi?id=626318
http://bugzilla.novell.com/show_bug.cgi?id=626318#c4
Petr Uzel
But that's beside the point -- logrotate shouldn't send anything (unless an error really occurred) with any setting
Sounds reasonable - I'll have a look into it. (In reply to comment #3)
Hi also wondered why I get cron OK mails after updating from 11.2 to 11.3. Here also is SEND_OUTPUT_ON_NO_ERROR="yes" which wasint the case before updating.
Anicka: any idea? ^^^ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=626318
http://bugzilla.novell.com/show_bug.cgi?id=626318#c5
Petr Uzel
But that's beside the point -- logrotate shouldn't send anything (unless an error really occurred) with any setting
It does not seem to be possible with current logrotate. What e.g. Debian uses (and openSUSE should use as well) is to redirect the stdout of postrotate scriptlets to /dev/null. Created request id 45383 (logrotate.syslog: redirect output of postrotate script to /dev/null) Assigning to syslogd maintainer - Werner, please review the request ^^. Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=626318
http://bugzilla.novell.com/show_bug.cgi?id=626318#c6
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=626318
https://bugzilla.novell.com/show_bug.cgi?id=626318#c7
Markus Gaugusch
https://bugzilla.novell.com/show_bug.cgi?id=626318
https://bugzilla.novell.com/show_bug.cgi?id=626318#c9
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=626318
https://bugzilla.novell.com/show_bug.cgi?id=626318#c10
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=626318
https://bugzilla.novell.com/show_bug.cgi?id=626318#c11
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com