Bug 462658

Summary: Kerberos server log does not get rotated
Product: Red Hat Enterprise Linux 5 Reporter: Kyle Powell <kpowell>
Component: krb5Assignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 5.2CC: borgan, dpal, jplans
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: krb5-1.6.1-45.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 630968 (view as bug list) Environment:
Last Closed: 2011-01-13 23:32:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 630968    

Description Kyle Powell 2008-09-17 22:47:08 UTC
Description of problem:

krb5-server package does not contain a /etc/logrotate.d/krb5kdc file to instruct logrotate to rotate /var/log/krb5kdc.log. Consequently, the kerberos server log never gets rotated, it simply keeps growing.

Version-Release number of selected component (if applicable):
krb5-server-1.6.1-25.el5

Additional info:

Proposed /etc/logrotate.d/krb5kdc:

/var/log/krb5kdc.log {
    missingok
    monthly
    rotate 12
    postrotate
        /sbin/service krb5kdc reload 2> /dev/null > /dev/null || true
    endscript
}

Comment 5 errata-xmlrpc 2011-01-13 23:32:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0098.html