'last' command output is wrong

Bug #1563025 reported by Nick Rose
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Xubuntu 15.10
util-linux 2.26.2-6ubuntu3

The output of 'last reboot' is wrong. It says 'reboot' is 'still running' when it shouldn't be, and then arbitrarily 'reboot' stops running, causing strange lines such as:

reboot system boot 4.2.0-30-generic Tue Mar 22 21:25 - 22:59 (2+01:33)

This line shows that 'reboot' was logged in from 9:25pm to 10:59pm on the same day, but the total login time was 2 days, 1 hour and 33 minutes.

'reboot' can be 'still running' multiple times simultaneously.

I've attached the results of these commands:

last reboot
last -f /var/log/wtmp.1 reboot
last
last -f /var/log/wtmp.1

Revision history for this message
Nick Rose (nkre5) wrote :
Revision history for this message
Nick Rose (nkre5) wrote :
Revision history for this message
Nick Rose (nkre5) wrote :
Revision history for this message
Nick Rose (nkre5) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in util-linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.