Re: Systemd and time synchronisation problems

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



On Tue, Sep 11, 2012 at 5:52 PM, Thomas Bächler <thomas@xxxxxxxxxxxxx> wrote:

> I guess you need to stop chrony when playing with hwclock. Maybe it is
> enough to just delete adjtime without that command.
>
> Forgot to tell you (but it's probably too late now) to post the first
> line of your /etc/adjtime, this would have told us if we are on the
> right track.
>

You were right - once I had stopped chrony with systemctl stop chrony
then the hwclock command works.

So I first set the system clock using date +%T -s "18:55:00"

Then hwclock --systohc

Then checked that both the system clock and hardware clock are saying
about the same and then rebooted but left /etc/adjtime in place since
rebooting seemed not to recreate this file!

Now I will wait and see if "chronyc tracking" shows it has resynced in a while.

However a question is where does the hardware clock get
re-synchronised if it drifts out of time over a period unless it is
occasionally resynchronised?

-- 
mike c


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux