[PVE-User] ntp(d) or systemd-timesyncd?
f.gruenbichler at proxmox.com
Thu Oct 6 15:38:39 CEST 2016
On Thu, Oct 06, 2016 at 03:17:03PM +0200, Marco Gaiarin wrote:
> Mandi! Alwin Antreich
> In chel di` si favelave...
> > > OK, i've removed 'ntp' in 'apt-get install' command on the wiki page.
> > As a remark, you need to configure /etc/systemd/timesyncd.conf with a
> > time source and restart the service systemd-timesyncd.
> Ok, i can add that note on wiki.
> But i think this is a ''general'' note: eg timesync-systemd get
> configured against public NTP server both if i install proxmox or i
> instal debian and i ''upgrade'' it to proxomox.
> And in both way, if i put nodes behind a firewall, i need to setup time
> sync against ''internal'' servers.
> So i think that putting that note on 'debian jessie' page is not so
> relevant... but the only page that cite ntp 'generally' seems:
> I'm a bit confused on where put that note... for now, i've created:
I think this might fit better as part of the reference documentation.
Note that it also does not make sense to configure both ntpd and
systemd-timesyncd, and that we (currently) have a hard dependency on the
latter. There is a bug report about changing this, to allow setting up
and using arbitrary time synchronization daemons, but it has not been
implemented so far. It is possible to manually override the
dependency, but this requires monitoring for updates to the original
unit files, which is not very nice.
Long story short: if you want, you could send a patch for the pve-docs
repository to include information on how to setup systemd-timesyncd with
internal NTP servers (see  for an intro to our reference
documentation). Otherwise I will do the same, using your wiki article as
a base. When bug#998 is fixed, I would extend this section in the
1: e.g., here:
More information about the pve-user