<div dir="ltr">control: tags -1 + pending<div><br></div><div>Thanks for the detailed report. I uploaded a fix.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 14, 2017 at 7:36 PM, Justin Pasher <span dir="ltr"><<a href="mailto:justinp@distribion.com" target="_blank">justinp@distribion.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Package: freeradius<br>
Version: 3.0.12+dfsg-5+deb9u1<br>
<br>
The logrotate config file that ships with freeradius sets global options in its file (/etc/logrotate.d/freeradius). These options do not just apply to the freeradius log files, but to all log files that logrotate encounters after processing /etc/logrotate.d/freeradius (e.g. other logs defined in /etc/logrotate.d with a filename that come later alphabetically). You can verify this by making a modification tothe global options in/etc/logrotate.d/freeradius(<wbr>such as adding"maxsize 1k"), then running logrotate in debug mode:<br>
<br>
logrotate -d /etc/logrotate.conf<br>
<br>
If you look at the output, you'll notice that all logs files encountered after the freeradius log files now have the"maxsize 1k" applied to them even if they didn't define it themselves. The global options set within /etc/logrotate.d/freeradius are not just global options for the log files defined in that file; they are system wide. To avoid conflicting with other log file definitions, the options need to be duplicated for each log file. You could also just group together everything but radius.log if you wanted to avoid a bunch of duplication.<br>
<br>
/var/log/freeradius/radius.log {<br>
daily<br>
rotate 52<br>
missingok<br>
compress<br>
delaycompress<br>
notifempty<br>
copytruncate<br>
}<br>
<br>
/var/log/freeradius/checkrad.l<wbr>og /var/log/freeradius/radwatch.l<wbr>og<br>
/var/log/freeradius/radutmp /var/log/freeradius/radwtmp<br>
/var/log/freeradius/sqllog.sql<br>
/var/log/freeradius/radacct/*/<wbr>detail {<br>
daily<br>
rotate 52<br>
missingok<br>
compress<br>
delaycompress<br>
notifempty<br>
nocreate<br>
}<br>
<br>
<br>
--<br>
Justin Pasher<br>
<br>
______________________________<wbr>_________________<br>
Pkg-freeradius-maintainers mailing list<br>
<a href="mailto:Pkg-freeradius-maintainers@lists.alioth.debian.org" target="_blank">Pkg-freeradius-maintainers@lis<wbr>ts.alioth.debian.org</a><br>
<a href="https://lists.alioth.debian.org/mailman/listinfo/pkg-freeradius-maintainers" rel="noreferrer" target="_blank">https://lists.alioth.debian.or<wbr>g/mailman/listinfo/pkg-freerad<wbr>ius-maintainers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Best regards,<br>Michael</div>
</div>