[chrony-users] Chrony and systemd-timesyncd

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi,

I have some questions about chrony. I am trying to set up chrony as local NTP server. First I tried to completely substitute systemd-timesyncd with chrony, but this turned out as quite the challenge, because at least on a Yocto system some services are dependent on systemd's timesyncd module.

So to not make me suffer more than necessary figuring out how to make all these other services happy, I would like to ise chrony only as an NTP server for some other client devices, which are not directly connected to the internet. This would require me to run timesyncd and chronyd at the same time. So I would have some questions:

  1. Is it problematic to run chrony alongside timesyncd, even when only used as a server?
  2. How would I accomplish this? Online it says to use the local directive. I am not entirely sure if chrony syncs with the hardware clock here. Since RTCs are said to drift quite a lot, I would rather have chrony sync itself with the system clock
  3. If the hardware clock indeed does sync from the RTC, what is the refclock directive needed for? Can I actually use the RTC here is this for another purpose?
Thanks



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/