[BlueOnyx:25422] Re: Name server log file accumulation

Michael Stauber mstauber at blueonyx.it
Mon May 16 21:02:25 -05 2022


Hi Richard,

> About every two months I need to empty /var/named/chroot/var/log because 
> the 4GB /var partition is full.
> 
> It seems to be logging name server lookup requests and quite a rate. I 
> have Data Retention set at 14 days but these logs neither rotate or get 
> removed.
> 
> Is there a simple fix I’m missing or can something be done to either 
> stop the logging or force the rotation?


Now *that* is a good point and many thanks for bringing this to my 
attention. The logrotate provisions for the Bind nameserver do in fact 
not take the chroot into account and try to rotate the logs from where 
they would be without the chroot. /doh!

I'll publish a YUM update that fixes this.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list