Hi Marco,

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.
The problem is that somebody may change the logrotate configuration
(e.g. moving it after news.daily is run) without knowing about INN.

Could news.daily be run by a "postrotate" section in logrotate?
We could imagine to run news.daily with the "norotate" keyword in this case.


But we'd need to convince logrotate to not also run the inn2 configuration
when it runs normally from cron.daily.
It already ignores the news.* files.

If I run "man logrotate" on Lenny (I have not checked on Squeeze), I read:

/var/log/news/news.crit {
  monthly
  rotate 2
  olddir /var/log/news/old
  missingok
  postrotate
    kill -HUP ‘cat /var/run/inn.pid‘
  endscript
  nocompress
}

I wonder why this example is given in the documentation. It will give unwise ideas for dealing with inn2 log files at the moment.
Hopefully no default inn2 configuration is shipped by default.

--
Julien ÉLIE

« Le travail n'est pas une bonne chose. Si ça l'était, les riches
  l'auraient accaparé. »



--
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