Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 23071 - wtmp entry not rolled over after logrotate
wtmp entry not rolled over after logrotate
Product: Red Hat Linux
Classification: Retired
Component: logrotate (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-01-01 08:24 EST by Yoda
Modified: 2007-04-18 12:30 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-01 08:24:13 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 Yoda 2001-01-01 08:24:11 EST
As an aside I removed the wtmp patch from pppd to enable utmp entries of ppp users.  Why is this disabled by default?

I would expect that when you rotate the wtmp file each month you would want the users who are "still logged in" to be transfered into the new wtmp file.

I would guess that the best way to do this is to effectively log them out of the old wtmp.1 and log them back into the new wtmp file.

This is very important for accounting purposes.

I would like to know your thoughts on this issue.


Grahame Jordan
Comment 1 Preston Brown 2001-06-21 15:59:28 EDT
Users know that the user login record (wtmp) gets rotated monthly.  the "last" 
command can take a file to examine on the command line, so running last -f 
/var/log/wtmp.1 is possible to get around the issue you have raised.

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