Bug 57331

Summary: lastlog isn't rotated
Product: [Retired] Red Hat Linux Reporter: degraaf
Component: logrotateAssignee: Elliot Lee <sopwith>
Status: CLOSED DUPLICATE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-12-10 16:05:12 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:

Description degraaf 2001-12-10 16:05:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-13custom i686)

Description of problem:
I notice that /var/log/lastlog is getting very big.
The only reference to lastlog in /etc/logrotate.conf is:

# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
    monthly
    create 0664 root utmp
    rotate 1
}

The intimated paragraph for lastlog is missing!
I think this should be added:
# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/lastlog {
    monthly
    create 0664 root utmp
    rotate 1
}


Is there some reason not to rotate lastlog?
Or was this just a simple omission?

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. This omission is in a freshly installed RH 7.2.
2.
3.
	

Additional info:

Comment 1 Elliot Lee 2001-12-10 16:25:51 UTC

*** This bug has been marked as a duplicate of 55179 ***