Bug#801525: systemd: incorrect boot timestamps in wtmp, last reports negative duration
Michael Biebl
biebl at debian.org
Mon Nov 9 01:27:29 GMT 2015
On Sun, 11 Oct 2015 19:23:34 +0200 =?UTF-8?B?UmVuw6kgV2FnbmVy?=
<rw at nelianur.org> wrote:
> Package: systemd
> Version: 215-17+deb8u2
> Severity: normal
>
> Dear maintainers,
>
> I'm not perfectly sure which package generates the "reboot" entries in
> wtmp. I believe in jessie to which I recently upgraded this is systemd,
> but please rassign this if that is not the case.
>
> Since the upgrade to jessie the boot time reported by "last" is off by
> two hours, e.g., in the following entry it should have been 21:36. The
> shutdown time is correct.
>
> reboot system boot 3.16.0-4-amd64 Sat Oct 10 23:36 - 22:32 (-1:-4)
>
> Perhaps this is caused by a confusion of local time vs. UTC? CEST is at
> UTC+2.
>
> $ cat /etc/timezone
> Europe/Berlin
>
> $ tail -n1 /etc/adjtime
> LOCAL
Most likely an issue of using LOCAL time, yeah.
My suggestion would be to switch to UTC. This works just better under Linux.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20151109/58552e8e/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list