Bug 679034 - ntpstat doesn't include root delay in maximum error estimate
Summary: ntpstat doesn't include root delay in maximum error estimate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ntp
Version: 5.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Miroslav Lichvar
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks: 830821
TreeView+ depends on / blocked
 
Reported: 2011-02-21 11:05 UTC by Miroslav Lichvar
Modified: 2012-06-11 13:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The "ntpstat" command printed an incorrect maximum error estimate. This occurred because the "time correct to within" value did not include the root delay. With this update, the value includes the root delay and the displayed "time correct to within" value is correct.
Clone Of:
: 830821 (view as bug list)
Environment:
Last Closed: 2011-07-21 06:44:34 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0980 0 normal SHIPPED_LIVE ntp bug fix and enhancement update 2011-07-20 15:45:14 UTC

Description Miroslav Lichvar 2011-02-21 11:05:48 UTC
Description of problem:
The "time correct to within" value printed by ntpstat doesn't include root delay, only root dispersion, so the actual error might be larger than what is reported.

Version-Release number of selected component (if applicable):
ntp-4.2.2p1-9.el5_4.1

How reproducible:
Always

Steps to Reproduce:
1. ntpstat
2. ntpq -c 'rv 0'
3. compare rootdelay / 2 + rootdisp with the ntpstat's value
 
Actual results:
not equal

Expected results:
equal

Additional info:
http://pkgs.fedoraproject.org/gitweb/?p=ntp.git;a=blob_plain;f=ntpstat-0.2-maxerror.patch;hb=HEAD

Comment 5 Eva Kopalova 2011-06-30 12:45:44 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The "ntpstat" command printed an incorrect maximum error estimate. This occurred because the "time correct to within" value did not include the root delay. With this update, the value includes the root delay and the displayed "time correct to within" value is correct.

Comment 6 errata-xmlrpc 2011-07-21 06:44:34 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0980.html


Note You need to log in before you can comment on or make changes to this bug.