Package: krb5-kdc
Version: 1.4.4-7
Severity: important
Tags: patch

The krb5-kdc package doesn't rotate /var/log/krb5kdc.log, which is required
by Debian Policy 10.8.  This is always a slow-growing log file for me, but
every couple of years or so I have occasion to notice that one of my
krb5kdc.log's is a little large and should probably be rotated.  (Most
recently, I've just noticed this on a KDC that's been running for 6 1/2
years and grown to 172MB. :)  So rather than continuing to deploy one-off
logrotate snippets, perhaps I should submit a bug...

The following bit should, I think, be suitable to install as
/etc/logrotate.d/krb5kdc.

/var/log/krb5kdc.log {
        monthly
        rotate 12
        missingok
        compress
        delaycompress
        sharedscripts
        postrotate
                killall -HUP krb5kdc
        endscript
}

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]



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

Reply via email to