[Pkg-torrus-maintainers] Bug#497031: rotation/deletion of /var/log/torrus/dbenv_errlog_* missing

Joerg Dorchain joerg at dorchain.net
Fri Aug 29 10:35:48 UTC 2008


Package: torrus-common
Version: 1.0.6-2

Hello,

I noticed that /var/log/torrus/dbenv_errlog_* pile up. Normally they are
empty, but nevertheless take up inodes. For the principle of avoiding
unlimited automatic filling of filesystems, a matching statement in
/etc/logrotate.d/torrus-common like below would help.

Bye,

Joerg

/var/log/torrus/dbenv_errlog* {
        weekly
        missingok
        rotate 0
	maxage 30
        ifempty
        sharedscripts
        postrotate
                for i in $(find /var/run/torrus -name 'collector.*.pid'
-or \
                                                -name 'monitor.*.pid')
                do
                  kill -s HUP $(cat ${i})
                done
        endscript
}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-torrus-maintainers/attachments/20080829/1fe73efc/attachment.pgp 


More information about the Pkg-torrus-maintainers mailing list