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 bfcd8ecc56842637f7a0336757747d75c66ab105 (commit) via 50e5865c73a7b532fa1ac6c4b479b5b4fb54d602 (commit) via 93f6358916ca5f0fa41008fba74fe61226f409fa (commit) via 93008544394435d30decf7942ccdff966544f660 (commit) via 02914ac637c31420405e80a5c94e5842554dd60e (commit) via 00fff161cf03db388723f953a2579709ca5672bd (commit) via 3763befd62d97fb9efef52171493c25af9cff401 (commit) via 2ae008bceed776c713374f3f198b0906b7400424 (commit) via ea41f7ab0961427f5728edb82ecce9bfe3895e60 (commit) via c673b1e8b77b45886c7e3222aec293991c1569b4 (commit) via 2bf1ba22f2502cd39784563e2461ad626bb60a00 (commit) via dfc2f70876956531970b2ceb370a7004a7cb22ea (commit) via 0dba2b9689dff6fb5d88cfd13817896d1140d8dd (commit) via e7fc2d31cccc7ceb6896322882e34cf31e563d45 (commit) via f231efb811eef90a53876f801d7e2aaa2a60574f (commit) via c4d6f98bed890b4c8fc28d76b2c994f65b6d0eb7 (commit) via bff3f51d13c3f41e2ead2cfff5bfe0b8c22ef44a (commit) from f5eb7daf2087d52e3a55f9c081ff318588e287e8 (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 bfcd8ecc56842637f7a0336757747d75c66ab105 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu Dec 5 13:25:10 2019 +0100 client: add sourcename command Add a new command to print the original name of a source specified by address. This could be useful in scripts to avoid having to run the sources command with and without -N. commit 50e5865c73a7b532fa1ac6c4b479b5b4fb54d602 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu Dec 5 12:22:49 2019 +0100 client: add option to print original names Add -N option to chronyc to print the original names by which the sources were specified instead of using reverse DNS lookup. The option works in the sources, sourcestats and tracking commands. commit 93f6358916ca5f0fa41008fba74fe61226f409fa Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu Dec 5 10:34:02 2019 +0100 cmdmon: add request to get source name Specify a new request to get the name of the NTP source corresponding to an address, which was originally specified in the configuration file or chronyc add command. commit 93008544394435d30decf7942ccdff966544f660 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Wed Dec 4 15:26:39 2019 +0100 cmdmon: add support for adding pool sources Specify a new type for pool sources and extend the syntax of the chronyc "add" command to add a pool. commit 02914ac637c31420405e80a5c94e5842554dd60e Author: Miroslav Lichvar <mlich...@redhat.com> Date: Wed Dec 4 12:04:19 2019 +0100 cmdmon: specify name instead of address in add request Modify the request for adding a source to provide the name of the source instead of its address (resolved in chronyc) in order to enable chronyd to replace the source, support an "add pool" command, and enable an NTS client to verify the server's certificate. The name resolving does not block the response. Success is indicated even if the name cannot be resolved, or a source with the same address is already present. To prevent unresolvable names from getting to chronyd, chronyc does not send the request if it could not resolve the name itself (assuming they are both running on the same host using the same resolver). commit 00fff161cf03db388723f953a2579709ca5672bd Author: Miroslav Lichvar <mlich...@redhat.com> Date: Wed Dec 4 11:16:26 2019 +0100 cmdmon: merge add server/peer requests Instead of having two separate requests in the protocol for adding a server and peer, specify the type of the new source in the request data. commit 3763befd62d97fb9efef52171493c25af9cff401 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu Dec 12 11:58:18 2019 +0100 ntp: check name and return status from NSR_AddSourceByName() Return an error status when the name is not printable or contains a space (don't bother with full hostname validation). If the name is an address, return the same status as NSR_AddSource(). Otherwise, return a "not resolved yet" status. commit 2ae008bceed776c713374f3f198b0906b7400424 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu Dec 12 14:12:39 2019 +0100 ntp: print name of replaced source in log message commit ea41f7ab0961427f5728edb82ecce9bfe3895e60 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Wed Dec 4 15:12:31 2019 +0100 doc: remove unsupported options of add commands All options from the configuration file are supported in the chronyc add commands. This fixes commit 65fd30a5473f0a13a216e2d481236ebe54058b41. commit c673b1e8b77b45886c7e3222aec293991c1569b4 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Nov 18 18:16:21 2019 +0100 privops: convert to new socket API commit 2bf1ba22f2502cd39784563e2461ad626bb60a00 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Tue Nov 19 10:42:23 2019 +0100 socket: change SCK_Send() declaration to const buffer commit dfc2f70876956531970b2ceb370a7004a7cb22ea Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Nov 18 18:08:47 2019 +0100 socket: add support for opening socket pairs commit 0dba2b9689dff6fb5d88cfd13817896d1140d8dd Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Nov 18 18:07:16 2019 +0100 socket: add support for blocking sockets Add a flag to open a blocking socket. The default stays non-blocking. commit e7fc2d31cccc7ceb6896322882e34cf31e563d45 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Nov 18 18:05:17 2019 +0100 socket: remove unnecessary MSG_DONTWAIT flag This is not needed since sockets are non-blocking by default. commit f231efb811eef90a53876f801d7e2aaa2a60574f Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Nov 18 18:04:43 2019 +0100 socket: add support for sending and receiving descriptors Add support for the SCM_RIGHTS control message used in communication with the privops helper. commit c4d6f98bed890b4c8fc28d76b2c994f65b6d0eb7 Author: Christian Ehrhardt <christian.ehrha...@canonical.com> Date: Thu Dec 12 12:06:39 2019 +0100 test: accept test result if RTC can't enable RTC_UIE_ON The test might run on different platforms. If the platform happens to have a RTC that does exist but unable to have RTC_UIE_ON set the test will fail, while the chrony code is actually good. Examples of bad clocks are: - ppc64el: rtc-generic - arm64: rtc-efi To avoid that extend the log message check on 101-rtc to accept that condition as a valid test result as well. Signed-off-by: Christian Ehrhardt <christian.ehrha...@canonical.com> commit bff3f51d13c3f41e2ead2cfff5bfe0b8c22ef44a Author: Christian Ehrhardt <christian.ehrha...@canonical.com> Date: Thu Dec 12 12:06:40 2019 +0100 rtc: extend check for RTCs that don't support interrupts Several RTCs would only expose the broken behavior on enabling interrupts. The reason for that is that the kernel only returns the error if the state changes. Therefore the check has to probe switch_interrupts(1) as well. On platforms that work it will be switched on and off, while on those it never works it will just stay off. Clocks known to expose that behavior include, but are not limited to: PPC64# dmesg | grep -i rtc [ 0.241872] rtc-generic rtc-generic: registered as rtc0 [ 0.270221] rtc-generic rtc-generic: setting system clock to ... ARM64# dmesg | grep -i rtc [ 0.876198] rtc-efi rtc-efi: registered as rtc0 [ 1.046869] rtc-efi rtc-efi: setting system clock to ... Signed-off-by: Christian Ehrhardt <christian.ehrha...@canonical.com> ----------------------------------------------------------------------- Summary of changes: candm.h | 28 +++++++++- client.c | 143 ++++++++++++++++++++++++++++++++++------------- cmdmon.c | 89 +++++++++++++++++++++++++----- doc/chronyc.adoc | 48 ++++++++++++---- ntp_sources.c | 45 +++++++++++++-- ntp_sources.h | 14 ++++- pktlength.c | 8 ++- privops.c | 103 +++++++++++----------------------- rtc_linux.c | 2 +- socket.c | 156 +++++++++++++++++++++++++++++++++++++++++++--------- socket.h | 7 ++- test/system/101-rtc | 2 +- 12 files changed, 468 insertions(+), 177 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.