PSARC 2015/278 NTP allow_step_at_boot
18408859 NTP Management profile should have auths to edit /etc/inet/ntp.conf
20664660 NTP should have a restart_fmri tag on ntpd in the ntp.p5m file
20683411 ntpd and multiple default route constantly resets state and never sets sys.peer
20874200 NTP should use -preserve_argvalues=complete
21020160 html help files in ntp for RBAC profiles and authorizations must go
21020795 Add "RO" to res1 field of auth_attr.d files in ntp
21155469 NTP should update time at boot and shutdown
Don't change interfaces unless there is something wrong with the old one.
This is NTP bug [2043] and this patch should be removed after upgrading to
a version of NTP with a fix for that bug.
--- ntpd/ntp_peer.c
+++ ntpd/ntp_peer.c
@@ -718,9 +718,13 @@
/*
* this is called when the interface list has changed
* give all peers a chance to find a better interface
+ * but only if either they don't have an address already
+ * or if the one they have hasn't worked for a while.
*/
- for (p = peer_list; p != NULL; p = p->p_link)
- peer_refresh_interface(p);
+ for (p = peer_list; p != NULL; p = p->p_link) {
+ if (!(p->dstadr && (p->reach & 0x3)))
+ peer_refresh_interface(p);
+ }
}