> I upgraded from 14.04 to 14.10.

Do you mention this because this is a new problem that didn't exist in
previous releases?

Since /var/log/wtmp's structure doesn't include timestamps, all times in
this file must be written in UTC.  Is your system clock set in local
time instead of in UTC?

Checking recent reboots on my 14.10 system with 'utmpdump
/var/log/wtmp.1' shows correct times:

[2] [00000] [~~  ] [reboot  ] [~           ] [3.16.0-16-generic   ] [0.0.0.0    
    ] [Mon Sep 22 15:00:50 2014 PDT]
[1] [00050] [~~  ] [runlevel] [~           ] [3.16.0-16-generic   ] [0.0.0.0    
    ] [Mon Sep 22 15:00:50 2014 PDT]

Confirmed against /var/log/kern.log that this is the time of the boot:
  Sep 22 15:00:49 virgil kernel: [    0.000000] Initializing cgroup subsys 
cpuset

last -f /var/log/wtmp.1 shows similarly correct information:

reboot   system boot  3.16.0-16-generi Mon Sep 22 15:00 - 12:32
(10+21:31)

So I can't reproduce the problem you're describing.

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

Title:
  /usr/bin/last is using UTC rather than local time for login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1376971/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to