[ntp:questions] "leap smear" support for ntpd - smear offset always 0

Sowmya Manapragada skoganty at gmail.com
Tue Oct 27 16:32:57 UTC 2015

Hello All,
Referred the details given in
http://bugs.ntp.org/show_bug.cgi?id=2855  &
 for the ntpd implementation with "leapsmear" patch  ( for non public

I have configured two  centos-7 machines one as ntp-server and one as
   Precisely followed the steps given in the above link:
   got the latest dev source 4.3.72 (dev version) and used ./configure with
--enable-leap-smear as described for the server machine, but could not test
the  leap smear behavior :

problem: "leapsmearoffset" never changes (always 0) , even though
smearinterval is large enough anything wrong with configuration

this is my "server" centos-machine ntp.conf:
server lrk0090  # take time from a non-smearing server
leapsmearinterval 14400 #4 hrs ( but give a smearing time to ur clients)
logfile /var/log/ntp.log
server # fallback
fudge startum 12
 client ntp.conf has regular configuration(nothing special w.r.to smear)
  and takes the only server as server above ( client anyway is unaware of
any leap smearing)

server centos 7:> ntpq -c rv

ntpq> rv 0

associd=0 status=0618 leap_none, sync_ntp, 1 event, no_sys_peer,

version="ntpd 4.3.72 at 1.2483 Mon Oct 26 09:01:41 UTC 2015 (1)",

processor="x86_64", system="Linux/3.10.0-123.el7.x86_64", leap=00,

stratum=5, precision=-24, rootdelay=190.562, rootdisp=209.622,


reftime=d9da05bb.7d286a7a Tue, Oct 27 2015 19:46:27.488,

clock=d9da0aa1.82381432 Tue, Oct 27 2015 20:07:21.508, peer=42697, tc=9,

mintc=3, offset=-12.969487, frequency=4.020, sys_jitter=12.595202,

clk_jitter=10.040, clk_wander=1.133, leapsmearinterval=14400,

 the leapflag is 00 ( and no leap second added ?)

please let me know if anything wrong with my configuration


More information about the questions mailing list