Op vrijdag 8 december 2017 14:40:12 CET schreef Ludwig Nussel:
Freek de Kruijf wrote:
In Raspbian I noticed a packet always included in the image called fake- hwclock. I used the tar.gz file together with a .spec file to generate this packet for openSUSE distributions for systems without a Real Time Clock.
The description is: Some machines don't have a working realtime clock (RTC) unit, or no driver for the hardware that does exist. fake-hwclock is a simple set of scripts to save the kernel's current clock periodically (including at shutdown) and restore it at boot so that the system clock keeps at least close to realtime. This will stop some of the problems that may be caused by a system believing it has travelled in time back to 1970, such as needing to perform file system checks at every boot. That is strange. Independent of architecture openSUSE used to have code in the initrd that made sure that the system's time is set to at least the time when the initrd was created. Maybe that code got lost somehow?
No, it is there, and the remark about Jan 1, 1970 is from the time before that change. However, this time is used each time the system starts, which causes log entries with dates/times that are far from the real time and which, at least after a proper shutdown, should be later than the date/times used just before the shutdown. -- fr.gr. Freek de Kruijf member openSUSE -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org