Bug 207908 - Please add rotation of /var/log/lastlog in sysklogd
Summary: Please add rotation of /var/log/lastlog in sysklogd
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: sysklogd
Version: 4.3
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: Peter Vrabec
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-25 10:57 UTC by Lior Kaplan
Modified: 2007-11-17 01:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-10 09:01:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lior Kaplan 2006-09-25 10:57:20 UTC
Please add rotation of /var/log/lastlog to /etc/logrotate.d/syslog, which is
provided by sysklogd package (I have version 1.4.1-26_EL).

Thanks.

Comment 1 Peter Vrabec 2006-11-10 09:01:24 UTC
There is no need to rotate /var/log/lastlog, this file is not growing in size.

Comment 2 Lior Kaplan 2006-12-15 07:30:03 UTC
Please add a comment in its man page, like in debian about this issue.

NOTE
       The lastlog file is a database which contains info on the last login of
       each user. You should not rotate it. It is a sparse file, so its size
       on the disk is usually much smaller than the one shown by "ls -l"
       (which can indicate a really big file if you have in passwd users with
       a high UID). You can display its real size with "ls -s".


Thanks.

Comment 3 Peter Vrabec 2006-12-15 10:38:17 UTC
This note is already in man page, added by upstream.


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