Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 88139 - /etc/logrotate.d/named causes e-mail to be sent during log rotation
/etc/logrotate.d/named causes e-mail to be sent during log rotation
Product: Red Hat Linux
Classification: Retired
Component: bind (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2003-04-06 13:19 EDT by Jordan Russell
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-07 16:04:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jordan Russell 2003-04-06 13:19:59 EDT
Description of problem:
After upgrading to Red Hat Linux 9, I just got this e-mail today...

Subject: Cron <root@hostname> run-parts /etc/cron.daily


Reloading named: [60G[  [0;32mOK[0;39m  ]

The problem is in /etc/cron.daily/logrotate. It redirects stderr to /dev/null 
but not stdout.

To fix, this line:

        /sbin/service named reload  2> /dev/null || true

should be changed to:

        /sbin/service named reload  >/dev/null 2> /dev/null || true

Version-Release number of selected component (if applicable):
Comment 1 Daniel Walsh 2003-04-07 16:04:50 EDT
It will be fixed in the next release of bind.


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