Re: Not working as advertised - Re: System time

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

 





On 09/02/2015 11:22 AM, Dennis Gilmore wrote:
On Wednesday, September 02, 2015 04:43:19 PM Miroslav Lichvar wrote:
On Wed, Sep 02, 2015 at 09:29:27AM -0500, Dennis Gilmore wrote:
any attempt to set the time based on something in the filesystem is going
to result in the time being off. if it is something baked in at compose
or image creation time the drift will get bigger over time. if it is some
service that sets it on shutdown the drift will be small. network is
required to get it accurate.

I would really like to know the use cases where chronyd is not sufficient
and the problems that people are trying to solve.
I think the purpose of saving and restoring system time from a file is
to have monotonic time on machines that don't have a network
connection or only have an intermittent connection, so messages in
logs can be sorted, make doesn't complain timestamps are in future,
etc.
Okay, in this case setting a time at image creation, or image installation is
not sufficient.  There would need to be some service that saves the time on
poweroff and restores on powerup. though there will be a short period of time
still where in many cases the logs have the epoch  date/time l the service
resets the time when there is no battery backed rtc.

I think that this should be an optional thing so to not interfere with battery
backed rtc's

This seems to be what chrony -s is doing. And setting that can be an option on the install for 'no rtc battery'.

I seem to have gotten this to work on F22. But I am not getting it to work on my Centos7-arm image. But that is a thread for their list :)


_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux