Re: use RTC date/time to set system date time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mo, 01.03.21 15:38, Michał Zegan (webczat_200@xxxxxxxxxxxxxx) wrote:

> There are problems with log timestamps when you do that, and it is
> probably why it was not done.
> I am wondering if the only correct way isn't to do it in initramfs (if
> it's systemd) before starting the journald, so that first saved logs
> have correct timestamps?

The earlier you have a "correct" clock the better.

But I mean, journald won't lie to you: the log messages are associated
with the timestamps that were accurate at the moment they are
generated. But of course, if your clock sucks then they'll look
differently than you might expect.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux