Red Hat Bugzilla – Bug 3571
bind rpm: logrotate script doesn't restart the daemon
Last modified: 2008-05-01 11:37:50 EDT
after named logs rotated, named continues writing to
/etc/logrotate.d/named should be:
/usr/bin/killall -HUP named
I believe that
might be preferable.
i see. agreed. that, or, perhaps, /etc/rc.d/init.d/named restart.
whichever you think is cleaner.
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.