From owner-freebsd-bugs@freebsd.org Sat Jul 8 15:47:35 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4458D9C9D1 for ; Sat, 8 Jul 2017 15:47:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C223584293 for ; Sat, 8 Jul 2017 15:47:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v68FlZ5D014018 for ; Sat, 8 Jul 2017 15:47:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 220563] NTPd does not synchronize the time with a long (for a couple of weeks) disconnecting the virtual machine Date: Sat, 08 Jul 2017 15:47:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2017 15:47:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220563 Bug ID: 220563 Summary: NTPd does not synchronize the time with a long (for a couple of weeks) disconnecting the virtual machine Product: Base System Version: 11.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: admin@support.od.ua NTPd does not synchronize the time with a long (for a couple of weeks) disconnecting the virtual machine # env LC_ALL=3DC date Tue Jul 4 21:19:47 EEST 2017 # service ntpd onefetch # service ntpd restart ntpd not running? (check /var/run/ntpd.pid). Starting ntpd. In logs: Jul 4 21:20:21 core ntpd[1762]: ntpd 4.2.8p10-a (1): Starting Jul 4 21:20:22 core ntpd[1763]: restrict: 'monitor' cannot be disabled whi= le 'limited' is enabled Jul 4 21:20:22 core ntpd[1763]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature Jul 4 21:20:22 core ntpd[1763]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=3D2017-12-28T00:00:00Z last=3D2017-01-01T00:00:00Z ofs=3D37 After entering the following commands, ntpd worked fine: # ntpdate time.in.ua 8 Jul 18:44:14 ntpdate[1818]: step time server 62.149.0.30 offset 336055.068582 sec # service ntpd restart ntpd not running? (check /var/run/ntpd.pid). Starting ntpd. # env LC_ALL=3DC date Sat Jul 8 18:45:58 EEST 2017 # ntpq -pn remote refid st t when poll reach delay offset jit= ter =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D 0.freebsd.pool. .POOL. 16 p - 64 0 0.000 0.000 0.= 002 #194.54.80.30 204.108.231.32 3 u 41 64 3 2.714 -2.997 0.= 207 *62.149.0.30 .GPS. 1 u 42 64 3 10.397 0.193 0.= 396 #2001:67c:440:40 193.11.166.20 2 u 45 64 3 92.070 -5.164 0.= 740 +193.27.209.20 31.28.161.68 2 u 46 64 3 21.624 -0.455 0.= 294 +193.27.208.100 .PPS. 1 u 44 64 3 20.100 -1.018 0.= 334 -91.198.10.1 62.149.0.30 2 u 40 64 3 17.699 -1.543 0.= 274 -91.236.251.12 193.11.166.20 2 u 42 64 3 34.316 -0.482 1.= 414 -195.78.244.34 62.149.0.30 2 u 39 64 3 1.484 -0.906 0.= 470 FreeBSD 11.1-PRERELEASE #0 r318606: Mon May 22 14:28:27 EEST 2017 # egrep -i ntp /etc/rc.conf ntpd_enable=3D"YES" # egrep -v '^$|^#' /etc/ntp.conf tos minclock 3 maxclock 6 pool 0.freebsd.pool.ntp.org iburst restrict default limited kod nomodify notrap noquery nopeer restrict -6 default limited kod nomodify notrap noquery nopeer restrict source limited kod nomodify notrap noquery restrict 127.0.0.1 restrict -6 ::1 leapfile "/var/db/ntpd.leap-seconds.list" server 0.ua.pool.ntp.org iburst maxpoll 9 server 1.ua.pool.ntp.org iburst maxpoll 9 server 2.ua.pool.ntp.org iburst maxpoll 9 server 3.ua.pool.ntp.org iburst maxpoll 9 restrict default ignore restrict -6 default ignore restrict 0.ua.pool.ntp.org noquery notrap restrict 1.ua.pool.ntp.org noquery notrap restrict 2.ua.pool.ntp.org noquery notrap restrict 3.ua.pool.ntp.org noquery notrap statistics peerstats statistics loopstats statistics clockstats disable monitor --=20 You are receiving this mail because: You are the assignee for the bug.=