Re: [chrony-users] Chrony and systemd-timesyncd |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Chrony and systemd-timesyncd
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 15 Jul 2024 09:03:33 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721027020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dL69bmrYVSiVjUSVAsg1YLJqfYQwcmd+cAyrbcVtabQ=; b=cZfhWikowcnEjBQFTF9H7iwXyuE2NhelTui0AHL1BUi3W/t4X7MbTyq/N9L8Q98jPNDbLc fjjB95MtccK96JMX3jk5ldthC3SwE94mhlUXnME1LRF9osIHpgVrBtaLF6+rbs3mY97vfT NP5YFYK1RZrSAcysXgmC16mfvk1ovCE=
On Fri, Jul 12, 2024 at 01:32:21PM +0200, Jan Claußen wrote:
> 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?
Not a problem if chronyd is configured to not touch the system clock,
only serve time from it. That would mean no sources specified in the
config, or use the -x option.
But I think you would need to remove the conflict between the two
services from their systemd unit files and in that case you might just
as well disable timesyncd and run chronyd as a client.
Generally, it's better to avoid timesyncd:
https://chrony-project.org/faq.html#_should_i_prefer_chrony_over_timesyncd_if_i_do_not_need_to_run_a_server
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.