Bug 3571 - bind rpm: logrotate script doesn't restart the daemon
Summary: bind rpm: logrotate script doesn't restart the daemon
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bind
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
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
named_log.1.



/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.