Bug 142104 - /var/log/lastlog doesn't get rotated
/var/log/lastlog doesn't get rotated
Product: Fedora
Classification: Fedora
Component: logrotate (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
Depends On:
  Show dependency treegraph
Reported: 2004-12-07 07:05 EST by Noam Meltzer
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-09 08:16:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Noam Meltzer 2004-12-07 07:05:56 EST
Description of problem:
The log file: /var/log/lastlog doesn't get rotated.

Version-Release number of selected component (if applicable):
[root@mosquito courier]# rpm -q logrotate

Additional info:
Mandrake, for example has another entry in /etc/logrotate.conf:

/var/log/lastlog {
        rotate 1

in the remark they say that because no package owns it (and wtmp, like
already done in fedora) it will show in the main conf file.
Comment 1 Peter Vrabec 2004-12-09 08:16:12 EST
Bug #:   372  

 Additional Comment #1 From Cristian Gafton (gafton@redhat.com)  on
1998-12-10 18:58 -------
Private Comment

lastlog should not be rotated, as it will not grow in size (it stores
the timestamps of the last login for each UID, and the max number of
UIDs is 65535, so ,ax size it will be 64K users * 6 bytes each record.

Note You need to log in before you can comment on or make changes to this bug.