On Thu, Oct 23, 2008 at 01:59:55PM +0100, Tim Small wrote:
> This patch also introduces a corresponding logrotation configuration file for 
> the newly created log file.  It's difficult to know what these 
> defaults should be, as firewall log quantities will vary a lot between sites 
> and machines.  This file will at least replicate the status-quo (i.e. 
> it is the same as the default config for /var/log/messages).
> 
> *** /tmp/fwlogrotate
> --- /dev/null 2008-10-18 15:24:00.515817246 +0100
> +++ /etc/logrotate.d/arno-iptables-firewall   2008-10-23 13:44:21.000000000 
> +0100
> @@ -0,0 +1,13 @@
> +/var/log/firewall
> +{
> +     rotate 4
> +     weekly
> +     missingok
> +     notifempty
> +     compress
> +     delaycompress
> +     sharedscripts
> +     postrotate
> +             invoke-rc.d rsyslog reload > /dev/null
> +     endscript
> +}
I wonder if it wouldn't be better to rename /var/log/firewall into
/var/log/arno-iptables-firewall (or something else less general). Not
sure if other packages also try to manage that file, but I guess in this
general config it is looking for trouble.

Thanks,

Michael


-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to