[Bug 1563025] [NEW] 'last' command output is wrong

Nick Rose 1563025 at bugs.launchpad.net
Mon Mar 28 19:55:15 UTC 2016


Public bug reported:

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

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "last reboot"
   https://bugs.launchpad.net/bugs/1563025/+attachment/4615179/+files/last%20reboot

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1563025

Title:
  'last' command output is wrong

Status in util-linux package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1563025/+subscriptions



More information about the foundations-bugs mailing list