Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 772998 - net-misc/openntpd-6.8_p1-r1: never syncs clock
Summary: net-misc/openntpd-6.8_p1-r1: never syncs clock
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Paul B. Henson
Keywords: PMASKED
Depends on:
Blocks: 763963 769224
  Show dependency tree
Reported: 2021-02-26 09:04 UTC by Deniss Gaplevsky
Modified: 2021-03-03 18:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Deniss Gaplevsky 2021-02-26 09:04:08 UTC
after upgrading to net-misc/openntpd-6.8_p1-r1 the clock never become synced on multiple servers

linux kernel 5.4.60
# cat /etc/ntpd.conf 
listen on
sensor *

Reproducible: Always

Steps to Reproduce:
1. start ntpd
2. wait for hours
Actual Results:  
# ntpctl -s all
4/4 peers valid, clock unsynced

   wt tl st  next  poll          offset       delay      jitter from pool
    1 10  1   18s   32s        -0.027ms     0.686ms     0.137ms from pool
    1 10  2   18s   34s        -1.204ms     1.621ms     0.383ms from pool
    1 10  2   13s   34s         0.705ms     0.778ms     0.595ms from pool
    1 10  2   31s   34s        -0.072ms     0.895ms     0.126ms

Expected Results:  
4/4 peers valid, clock synced, stratum 3
Comment 1 Thomas Lindroth 2021-02-26 15:25:09 UTC
I also noticed this.

Running strace on ntpd I can see that the clock_adjtime() calls always return TIME_ERROR and buf.status is stuck as STA_UNSYNC.

Possible upstream bug report
Comment 2 Larry the Git Cow gentoo-dev 2021-03-03 18:38:41 UTC
The bug has been referenced in the following commit(s):

commit 856372e4b4f667365124c19533d3fe378351f992
Author:     Sam James <>
AuthorDate: 2021-03-03 18:38:00 +0000
Commit:     Sam James <>
CommitDate: 2021-03-03 18:38:00 +0000

    net-misc/openntpd: drop 6.8_p1* back to ~arch
    Signed-off-by: Sam James <>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dd50fd08f10bebbf8e5f4dd2b3731aecd64b2081
Author:     Sam James <>
AuthorDate: 2021-03-03 18:37:15 +0000
Commit:     Sam James <>
CommitDate: 2021-03-03 18:37:15 +0000

    profiles: mask broken net-misc/openntpd
    Signed-off-by: Sam James <>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)