Julien ÉLIE <jul...@trigofacile.com> writes:

> I have not thoroughly looked at the code but I do not see why
> news.daily/scanlogs could not use .0 versions.
> Yet, are we sure that logrotate will always generate these files?  (If a
> user changes the configuration of logrotate, it could break log analysis.)

Yeah, but... I think at some level we have to make some documented
assumptions about log rotation and go with that.  As long as there's a
comment somewhere in the inn2 configuration file telling people what to do
if they want to change it, I think this is okay.

> Would a new "rotate=<program>" option to news.daily be usable for Debian?
> We could then skip the rotation part of news.daily/scanlogs and run
> instead <program>.

> rotate="logrotate inn2" may be used for Debian, with a proper
> /etc/logrotate.d/inn2 configuration file.

But we'd need to convince logrotate to not also run the inn2 configuration
when it runs normally from cron.daily.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to