[chrony-dev] [GIT] chrony/chrony.git branch, master, updated. 2.3-23-gda96d33

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


This is an automated email from git. It was enerated because a ref
change was pushed to the repository "chrony/chrony.git".

The branch, master has been updated
       via  da96d334abdc1a6b3f2b4d9912c230504c13927a (commit)
       via  5a92dbe7840802d307f28bdce43b940c9c02be4f (commit)
       via  8fe5e9cf1ea8eabec928c9a0894afc26d864a9ce (commit)
       via  81f440a882f8ddae772259ff474d168410073ac2 (commit)
       via  981f897c96862a3497279a00f6fa3fe0d11a3a88 (commit)
       via  eb75ce7d07c6326f7a5633ccb86f5643ade63638 (commit)
       via  5645e57ce001daa3d63a7678cca306b8edfa005c (commit)
      from  a12c7c422b729b9417ea027dfded199fe35ee1ca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit da96d334abdc1a6b3f2b4d9912c230504c13927a
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Thu Mar 31 15:57:56 2016 +0200

    test: add 121-orphan

commit 5a92dbe7840802d307f28bdce43b940c9c02be4f
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Mar 30 17:39:49 2016 +0200

    sources: add support for orphan sources
    
    When the local reference is configured with the orphan option, NTP
    sources that have stratum equal to the configured local stratum are
    considered to be orphans (i.e. serving local time while not being
    synchronised with real time) and are excluded from the normal source
    selection. Sources with stratum larger than the local stratum are
    considered to be directly on indirectly synchronised to an orphan and
    are always ignored.
    
    If no selectable source is available and all orphan sources have
    reference IDs larger than the local ID, no source will be selected and
    the local reference mode will be activated at some point, i.e. this host
    will become an orphan. Otherwise, the orphan source with the smallest
    reference ID will be selected. This ensures a group of servers polling
    each other (with the same orphan configuration) which have no external
    source can settle down to a state where only one server is serving its
    local unsychronised time and others are synchronised to it.

commit 8fe5e9cf1ea8eabec928c9a0894afc26d864a9ce
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Mar 30 17:39:14 2016 +0200

    reference: add orphan mode to local reference
    
    Add orphan option to the local directive. It will enable an orphan mode
    compatible with ntpd.

commit 81f440a882f8ddae772259ff474d168410073ac2
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Mar 30 17:12:12 2016 +0200

    reference: activate local reference with large root distance
    
    Since the update to NTPv4, when the clock is in the synchronised state
    and the clock updates stop (e.g. sources become unreachable), it doesn't
    switch to the unsynchronised state and the local reference is never
    activate. This can be a problem for clients that rely on the server to
    always have root distance below some value (e.g. chronyd's maxdistance).
    
    Add a timer that will activate the local reference when the root
    distance reaches a specified threshold. It can be configured with the
    distance option in the local directive (by default 1.0 second).

commit 981f897c96862a3497279a00f6fa3fe0d11a3a88
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Mar 30 15:58:45 2016 +0200

    conf: rework local directive to have default stratum
    
    Allow the local directive to be specified without the stratum field.
    It's an option now, with default value 10. Also, move the parsing code
    to cmdparse.c to make it available to the client.

commit eb75ce7d07c6326f7a5633ccb86f5643ade63638
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Mar 30 11:02:04 2016 +0200

    ntp: add function to get local reference ID
    
    When a valid NTP reply is received, save the local address (e.g. from
    IP_PKTINFO), so the reference ID which would the source use for this
    host can be calculated when needed.

commit 5645e57ce001daa3d63a7678cca306b8edfa005c
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Tue Mar 29 10:06:21 2016 +0200

    sys_linux: include <termios.h> for TCGETS

-----------------------------------------------------------------------

Summary of changes:
 cmdparse.c                 |   34 +++++++++++++++++++++++++++
 cmdparse.h                 |    3 +++
 conf.c                     |   14 +++++------
 conf.h                     |    2 +-
 ntp_core.c                 |   21 +++++++++++++++--
 ntp_core.h                 |    2 ++
 ntp_sources.c              |   20 ++++++++++++++++
 ntp_sources.h              |    3 +++
 reference.c                |   56 +++++++++++++++++++++++++++++++++++++++++++-
 reference.h                |    3 +++
 sources.c                  |   51 ++++++++++++++++++++++++++++++++++++++++
 sys_linux.c                |    1 +
 test/simulation/121-orphan |   23 ++++++++++++++++++
 13 files changed, 222 insertions(+), 11 deletions(-)
 create mode 100755 test/simulation/121-orphan


hooks/post-receive
--
chrony/chrony.git

-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/