Re: [gentoo-user] re: which NTPd package to use?

2014-07-28 Thread Douglas J Hunley
On Sat, Jul 26, 2014 at 5:05 AM, Alexander Kapshuk 
alexander.kaps...@gmail.com wrote:


 Which NTPd package would the list recommend using, ntp, openntpd, or
 some other package?

 openntpd seems to be easier to set up according to wiki.gentoo.org.

 The list's advice would be much appreciated.


This is going to be very unpopular with the list, but if you've already
jumped to the systemd camp, it has one built in...

/me ducks


-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
about.me/douglas_hunley
G+: http://google.com/+DouglasHunley


Re: [gentoo-user] re: which NTPd package to use?

2014-07-28 Thread Rich Freeman
On Mon, Jul 28, 2014 at 12:42 PM, Douglas J Hunley
doug.hun...@gmail.com wrote:

 On Sat, Jul 26, 2014 at 5:05 AM, Alexander Kapshuk
 alexander.kaps...@gmail.com wrote:


 Which NTPd package would the list recommend using, ntp, openntpd, or
 some other package?

 openntpd seems to be easier to set up according to wiki.gentoo.org.

 The list's advice would be much appreciated.


 This is going to be very unpopular with the list, but if you've already
 jumped to the systemd camp, it has one built in...

Anybody have a decent comparison of timedated vs ntpd or anything else
for that matter?

Running ntpd isn't hard at all, so I'm not really sure why I'd want to
switch.  At the very least I'd want to ensure that the replacement
covers the basics.

I am running networkd and I'm very happy with it.  Setting it up for
dhcp-only is brain-dead simple, and I have it serving up a bridge for
containers/kvm with fairly little trouble as well.

Rich



Re: [gentoo-user] re: which NTPd package to use?

2014-07-28 Thread Stefan G. Weichinger
Am 28.07.2014 18:47, schrieb Rich Freeman:

 Anybody have a decent comparison of timedated vs ntpd or anything else
 for that matter?
 
 Running ntpd isn't hard at all, so I'm not really sure why I'd want to
 switch.  At the very least I'd want to ensure that the replacement
 covers the basics.
 
 I am running networkd and I'm very happy with it.  Setting it up for
 dhcp-only is brain-dead simple, and I have it serving up a bridge for
 containers/kvm with fairly little trouble as well.


AFAI understand it the systemd-timedated.service helps setting clock and
time-related settings ... and if you use it to enable NTP syncing,
systemd-timesyncd.service will actually take over the part of syncing
with ntp servers.

I also preferred chrony over ntp for the last year or so. Better with
laptops etc. and quicker to correct time when there is large offset.

What I haven't yet fully understood:

daemons like chrony bring a specific settings file for
systemd-environments, in this case:

/usr/lib/systemd/ntp-units.d/50-chrony.list (saying chronyd.service)

In the same directory I see 90-systemd.list (saying
systemd-timesyncd.service).

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.

Generalized interface with choice --- nice, isn't it?

;-)

but maybe I misunderstand.

Stefan




Re: [gentoo-user] re: which NTPd package to use?

2014-07-28 Thread Stefan G. Weichinger
Am 28.07.2014 23:20, schrieb Stefan G. Weichinger:

 I am running networkd and I'm very happy with it.  Setting it up for
 dhcp-only is brain-dead simple, and I have it serving up a bridge for
 containers/kvm with fairly little trouble as well.

shameless pointer to an older blog entry:

http://www.oops.co.at/en/publications/systemd-networkd-network-configuration-for-a-kvm-server

S



Re: [gentoo-user] re: which NTPd package to use?

2014-07-28 Thread Stefan G. Weichinger
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




[gentoo-user] re: which NTPd package to use?

2014-07-26 Thread Alexander Kapshuk
Howdy,

Which NTPd package would the list recommend using, ntp, openntpd, or
some other package?

openntpd seems to be easier to set up according to wiki.gentoo.org.

The list's advice would be much appreciated.




Re: [gentoo-user] re: which NTPd package to use?

2014-07-26 Thread Dale
Alexander Kapshuk wrote:
 Howdy,

 Which NTPd package would the list recommend using, ntp, openntpd, or
 some other package?

 openntpd seems to be easier to set up according to wiki.gentoo.org.

 The list's advice would be much appreciated.




I have used ntp before, seen others recommend openntps.  At some point I
had trouble getting ntp and opentnpd to work so I started using chrony. 
It worked.  So, if you have trouble with the ntp options, give chrony a
try. 

My preference tho, ntp.  Both seems to be relatively active so flip a
coin and see which works.  :-)

Dale

:-)  :-)



Re: [gentoo-user] re: which NTPd package to use?

2014-07-26 Thread Alexander Kapshuk
On 07/26/2014 03:18 PM, Dale wrote:
 Alexander Kapshuk wrote:
 Howdy,

 Which NTPd package would the list recommend using, ntp, openntpd, or
 some other package?

 openntpd seems to be easier to set up according to wiki.gentoo.org.

 The list's advice would be much appreciated.



 I have used ntp before, seen others recommend openntps.  At some point I
 had trouble getting ntp and opentnpd to work so I started using chrony. 
 It worked.  So, if you have trouble with the ntp options, give chrony a
 try. 

 My preference tho, ntp.  Both seems to be relatively active so flip a
 coin and see which works.  :-)

 Dale

 :-)  :-)

Understood. Thanks.