This is an automated email from git. It was generated because a ref change was pushed to the "chrony/chrony.git" repository.
The branch, master has been updated via 7637faa0d080b1604e2dc1ee86546a7a248170af (commit) via 8a57a28177c358967058fefe974d6a1310395070 (commit) via 34db671b573b8693039e13c0443fcb91fbba6032 (commit) via 8b9021bf3403ce74f1b20266053352687f685c5c (commit) via ce6b8969481d99c1d0a4fd68361f68907b1d5de2 (commit) via 2962fc62862c7c0d888d83a7b76e05bbc6416eb1 (commit) via 76bed76289575ba1640c02d370ae5304ef8c5fe2 (commit) via 113f2ebec03e7ac331f8b09fdd22107e56013c7e (commit) via 7c5bd948bb7e21fa0ee22f29e97748b2d0360319 (commit) from 8cbc68f28f96d48a7ee128fa91731ca02a598913 (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 7637faa0d080b1604e2dc1ee86546a7a248170af Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu May 24 17:29:15 2018 +0200 ntp: change auto_offline to trigger on failed transmissions Instead of counting missing responses, switch to the offline state immediately when sendmsg() fails. This makes the option usable with servers and networks that may drop packets, and the effect will be consistent with the onoffline command. commit 8a57a28177c358967058fefe974d6a1310395070 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu May 24 17:03:31 2018 +0200 examples: update NetworkManager dispatcher script Replace most of the code with the new onoffline command. commit 34db671b573b8693039e13c0443fcb91fbba6032 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu May 24 16:56:56 2018 +0200 cmdmon: add onoffline command The onoffline command tells chronyd to switch all sources to the online or offline status according to the current network configuration. A source is considered online if it is possible to send requests to it, i.e. a route to the network is present. commit 8b9021bf3403ce74f1b20266053352687f685c5c Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu May 24 15:17:53 2018 +0200 ntp: allow online/offline state to be selected by connectability Allow SRC_MAYBE_ONLINE to be specified for new NTP sources and connectivity setting to select between SRC_ONLINE and SRC_OFFLINE according to the result of the connect() system call, i.e. check whether the client has a route to send its requests. commit ce6b8969481d99c1d0a4fd68361f68907b1d5de2 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu May 24 13:42:52 2018 +0200 ntp: refactor switching between online and offline state Use an enum to describe connectivity of a source and merge the NCR and NSR TakeSourceOnline/Offline() functions into SetConnectivity() functions. commit 2962fc62862c7c0d888d83a7b76e05bbc6416eb1 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon May 21 16:49:26 2018 +0200 ntp: check PHC index before opening device Apparently, it is possible for an interface to report all necessary flags for HW timestamping without having a PHC. Check the PHC index to avoid an error message in the system log saying that /dev/ptp-1 cannot be opened. commit 76bed76289575ba1640c02d370ae5304ef8c5fe2 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon May 21 16:27:43 2018 +0200 ntp: enable non-blocking mode on server sockets Avoid blocking in sendmsg() due to a full send buffer. commit 113f2ebec03e7ac331f8b09fdd22107e56013c7e Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon May 21 14:49:53 2018 +0200 doc: add new questions to FAQ commit 7c5bd948bb7e21fa0ee22f29e97748b2d0360319 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu May 17 14:16:58 2018 +0200 util: fall back to reading /dev/urandom when getrandom() blocks With recent changes in the Linux kernel, the getrandom() system call may block for a long time after boot on machines that don't have enough entropy. It blocks the chronyd's initialization before it can detach from the terminal and may cause a chronyd service to fail to start due to a timeout. At least for now, enable the GRND_NONBLOCK flag to make the system call non-blocking and let the code fall back to reading /dev/urandom (which never blocks) if the system call failed with EAGAIN or any other error. This makes the start of chronyd non-deterministic with respect to files that it needs to open and possibly also makes it slightly easier to guess the transmit/receive timestamp in client requests until the urandom source is fully initialized. ----------------------------------------------------------------------- Summary of changes: candm.h | 3 +- client.c | 16 ++++++- cmdmon.c | 24 ++++++++-- cmdparse.c | 4 +- conf.c | 2 +- doc/chrony.conf.adoc | 11 +++-- doc/chronyc.adoc | 7 +++ doc/faq.adoc | 43 ++++++++++++++++++ examples/chrony.nm-dispatcher | 28 +----------- ntp_core.c | 101 ++++++++++++++++++++++++------------------ ntp_core.h | 9 ++-- ntp_io.c | 21 +++++++++ ntp_io.h | 3 ++ ntp_io_linux.c | 6 +++ ntp_sources.c | 53 ++++------------------ ntp_sources.h | 11 ++--- pktlength.c | 1 + srcparams.h | 8 +++- stubs.c | 8 +--- util.c | 2 +- 20 files changed, 209 insertions(+), 152 deletions(-) hooks/post-receive -- chrony/chrony.git -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.