Bug 3571

Summary: bind rpm: logrotate script doesn't restart the daemon
Product: [Retired] Red Hat Linux Reporter: sasha
Component: bindAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-25 12:12:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.