public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stefan G. Weichinger" <lists@xunil.at>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] re: which NTPd package to use?
Date: Tue, 29 Jul 2014 00:20:56 +0200	[thread overview]
Message-ID: <53D6CCC8.6010406@xunil.at> (raw)
In-Reply-To: <53D6BE86.8030408@xunil.at>

Am 28.07.2014 23:20, schrieb Stefan G. Weichinger:

> As far as I understand this:
> 
> if other ntp-software is installed, systemd-timedated.service uses the
> ntp-unit with higher priority (in my current case chronyd.service) for
> ntp-syncing.
> 
> So you may use the systemd-timedated.service to do your settings and in
> the same setup let it use another ntp-daemon to actually do the syncing
> behind the curtains.

My tests show:

If I manually disable chronyd.service and then do "timedatectl set-ntp
yes" this enables and starts chronyd.service (in my case the higher
priority ntp.unit as mentioned before).

I might additionally emerge net-misc/ntp and see what happens ->

this adds

/usr/lib/systemd/ntp-units.d/60-ntpd.list

with "ntpd.service" inside ... so this would trigger ntpd.service if
chrony would not be installed?

And there is still /etc/systemd/ntp-units.d/ where you can override the
given priorities (if more than one ntp-capable package is installed).

-

I am quite happy with systemd controlling and using chrony here ... just
interesting how things are implemented here.

enough for today: 0:20am here, ntp-synced.

Stefan



      parent reply	other threads:[~2014-07-28 22:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-26 12:05 [gentoo-user] re: which NTPd package to use? Alexander Kapshuk
2014-07-26 12:18 ` Dale
2014-07-26 12:29   ` Alexander Kapshuk
2014-07-26 12:31 ` [gentoo-user] " Holger Hoffstätte
2014-07-26 12:42   ` Alexander Kapshuk
2014-07-26 18:14   ` Alexander Kapshuk
2014-07-26 18:38     ` Holger Hoffstätte
2014-07-26 19:34       ` Alexander Kapshuk
2014-07-26 20:25     ` Dale
2014-07-27 12:19       ` Alexander Kapshuk
2014-07-26 19:10   ` Peter Humphrey
2014-07-26 23:16     ` Neil Bothwick
2014-07-28 16:42 ` [gentoo-user] " Douglas J Hunley
2014-07-28 16:47   ` Rich Freeman
2014-07-28 21:20     ` Stefan G. Weichinger
2014-07-28 21:25       ` Stefan G. Weichinger
2014-07-28 22:20       ` Stefan G. Weichinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D6CCC8.6010406@xunil.at \
    --to=lists@xunil.at \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox