Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 3571 - bind rpm: logrotate script doesn't restart the daemon
Summary: bind rpm: logrotate script doesn't restart the daemon
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bind
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-06-18 14:32 UTC by sasha
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-06-25 12:12:59 UTC

Attachments (Terms of Use)

Description sasha 1999-06-18 14:32:19 UTC
after named logs rotated, named continues writing to

/etc/logrotate.d/named should be:

/var/log/named.log {
           /usr/bin/killall -HUP named

Comment 1 Jeff Johnson 1999-06-18 15:10:59 UTC
I believe that
	/usr/sbin/ndc restart
might be preferable.

Comment 2 sasha 1999-06-18 15:14:59 UTC
i see.  agreed.  that, or, perhaps, /etc/rc.d/init.d/named restart.
whichever you think is cleaner.

Comment 3 Jeff Johnson 1999-06-25 12:12:59 UTC
I've added named.logrotate in bind-8.2.1. Thanks for the suggestion.

BTW, I did the killall -HUP instead of ndc restart so that the
path to ndc was not wired into the logrotate script.

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