On 09/01/2015 01:31 PM, Robert Nelson wrote:
On Tue, Sep 1, 2015 at 12:27 PM, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
On 09/01/2015 12:14 PM, Robert Nelson wrote:
On Tue, Sep 1, 2015 at 11:10 AM, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
wrote:
How is system time set? Is ntpdate run after the network is ready? How
long
does it retry waiting for the network to be available?
I have seen a number of challenges becuase the system time is bac at the
epoch start as there is no battery rtc. And I wonder how many armv7
boards
have a battery to maintain time across boots?
Minimally, a process could right the time, in the proper format, to a
file,
say /etc/currenttime every 5 min and at shutdown.
Then date can be run early in the boot process, piping this file in. It
would not be perfect and does not help, much for new installs, but better
than epoch start.
Plus /etc/currenttime can be at least set to the image build date/time so
not even firstboot will be at epoch start.
systemd v215+ has a nice feature to take care of this:
systemctl enable systemd-timesyncd.service
What rpm provides this? I am not finding it...
Should be a default part of systemd..
So I see from https://wiki.archlinux.org/index.php/Systemd-timesyncd
If I would have read just a little further down the page there is:
timedatectl set-ntp true
But I don't see how to get this right for firstboot?
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm