[ntp:bugs] [Bug 1922] New: "tos orphanwait" applied incorrectly at startup

bugzilla-daemon at ntp.org bugzilla-daemon at ntp.org
Mon May 9 22:04:54 UTC 2011


http://bugs.ntp.org/show_bug.cgi?id=1922

           Summary: "tos orphanwait" applied incorrectly at startup
           Product: ntp
           Version: 4.2.7
          Platform: All
               URL: http://www.eecis.udel.edu/~mills/ntp/html/miscopt.html
                    #tos
        OS/Version: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5
         Component: ntpd
        AssignedTo: hart at ntp.org
        ReportedBy: hart at ntp.org
                CC: bugs at ntp.org
   Estimated Hours: 0.0


"tos orphanwait" defaults to 5 minutes (300 seconds).  The documentation is in
error on this point, claiming 600 is the default.

When a non-default "tos orphanwait" timeout is used, the current code
incorrectly uses a 300s initial orphanwait timeout, however any further
orphanwait timeouts triggered by loss of all sources followed by regaining some
do use the specified timeout.

I have a fix which maintains orphwait (the scheduled end time of the most
recent orphanwait timeout) when modifying sys_orphwait (the configured duration
of orphanwait).

-- 
Configure bugmail: http://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the bugs mailing list