[master] Use ntplib module instead of ntpdate

Chris Lumens clumens at redhat.com
Mon Jul 29 15:34:47 UTC 2013


> I've packaged the ntplib module [1] for Fedora, so that we can use it in the
> Anaconda installer instead of ntpdate. One would think that there must be a
> library to do NTP queries, but ntpdate, chrony and others don't provide any. The
> ntplib module is written purely in Python.
> 
> Using ntpdate is quite problematic, because:
> a) it cannot be deprecated if we require it,
> b) forking process for every NTP query is slow, may cause problems in
> combination with threads and it eats a lot of random data entropy (every fork
> does).

Looks fine.

- Chris


More information about the anaconda-patches mailing list