[chrony-users] Chrony and systemd-timesyncd |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: [chrony-users] Chrony and systemd-timesyncd
- From: Jan Claußen <jan.claussen10@xxxxxx>
- Date: Fri, 12 Jul 2024 13:32:21 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1720783942; x=1721388742; i=jan.claussen10@xxxxxx; bh=WHQT7YKrggPw5bnId0GXVXRmULpmARHf0UOOlVV5h50=; h=X-UI-Sender-Class:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=sJ0D8xHnpL6pqeXufmWpzvk4hIQd+1g4ejG8iQq/cgXbDLR9+bfj8K1szY9SOBWN WuRp4CInX4CCDoX9d7usFu2LFRFFSUk/iEy2PvU0Ae1jIhZDJzlEyQYzgetRB2VrV EfptpD/IAnb8iBzQ7hjYJlkeZJImwWmn1/O94tO0vPVaug6I7vCqF3W7fzaEPYYXn YZfR3nl+FiakJDRPCNBPM42Bdk3elfXouQL2/PR7r8vxrqFaT8DimAvbnifCyIMRB feOBvyGIIVH2rMb4X+y9Ds66T4ddza3jfDvuUghPbTXe8yEuRLWvFh2YJfXzUJbDB Nxz7WiNrXsTi+Gn3JQ==
- Ui-outboundreport: notjunk:1;M01:P0:rCjhDWw/vOk=;83azuauDiZLfgxx2GZg9GnVzI8n XRbiZfkUIA9AxWuBjIaKsAVsfG+F1WoSuOga+QIR8peblbOm3Esx9ipfBstu5PJrJLRWb9uh7 3g+w6LvBfo4rG4jL5xsGe6GIHBkvskrU3Jm+2iSWXUkeR+vAFcJ5vYX5xopQ5YMUCqZvkgujV yZ5Y99GkNWOJ4Vp00AbRIkW4aHRO6htlRdGr3/9YG1QW/wj6Ux4fDztFRQarlDErNiYQy/HDl +sa1s5PaVWioDl6oRgQWkHKqUHeV/l0LoKTRkbsQ9inKW3o9hczkSDb/BYbBypDnP+gE4D90j pE3Djd35e+cyl2GQeYya/cRC8Q0/BZcQjcBm0iNnOjdTm7JEFBiMwm6s0fSrVQPukaTQFuG0B uAv5XluSmUlEUn+tGAk2O0mUn408eIvf5JROEGaLBiIBJ3B5HuTRV4ePCVH/wNrpne1viSr4g 8yZ05u5UpWmeCWKx0RECpgLHEo2e9KSroAbTProPiw7r/KO/k5f7LzRNIFvrfSQkehG/h+8CJ xQCU3jbXUi4DMH+nivPWhX71rKjzfSBy2Uzl9zjqR60J7ino3IPfuOa3VMx5ULyCuYLvoeC6c OyjIrmdz/32CLAzIJc7vKk3y21NVJaL1L3wqR0XzOn5ErvMXx5b2WUlHs0JVd5oPaiPk+axg9 qvRuucqWwrV4fdWvIatHfd9g6utobZEnfhaCWiD6r+vf6Q7UsNUrGZM8WGnAB+KqCLwAI9dyQ +nZPEnyOrVdBiAGPgsxZMO0c/9hki4qE28D2rlmspUu8cNlAFI3uvODvySn5juypAhw9pK2bS pHIOtjxqqKXDQCUcsgdjs3GQ==
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:
Is it problematic to run chrony alongside timesyncd, even when only used as a server?
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
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