Bug 522

Summary: wrong logrotate.conf
Product: [Retired] Red Hat Linux Reporter: borgia
Component: logrotateAssignee: Erik Troan <ewt>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.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: 1998-12-31 20:51:25 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 borgia 1998-12-18 23:16:41 UTC
logrotate.conf doesn't handle lastlog, even tough it's
supposed to, and does not compress logs by default
[version 2.6-3]

Comment 1 David Lawrence 1998-12-23 15:56:59 UTC
This report reduces to a policy question, (why doesn't logrotate
rotate lastlog) and a product improvement suggestion, (why doesn't
logrotate compress back level logs).

Comment 2 borgia 1998-12-26 23:02:59 UTC
No, it is not a policy question! Please read the comments in your own
products:

From /etc/logrotate.conf as shipped in 5.2:
-cut-cut-
# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
    monthly
    rotate 1
}

# system-specific logs may be configured here

Doh: the script says it should handle lastlog, but doesn't...

Comment 3 Aleksey Nogin 1998-12-26 23:38:59 UTC
This bug report is a duplicate of #372

Comment 4 Jeff Johnson 1998-12-31 20:51:59 UTC
*** This bug has been marked as a duplicate of 372 ***