'last' command output is wrong
Bug #1563025 reported by
Nick Rose
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
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.