From aa336b4e8fcfc5a9d4ee2acb834d4a5b268f6fcf Mon Sep 17 00:00:00 2001 From: Steve Huff Date: Tue, 15 May 2012 16:00:36 -0400 Subject: (#14497) Add tinker_panic option for ntpd Automatically sets tinker_panic 0 when $is_virtual is true. This configuration enables ntpd to cope with large clock skews, such as occur when a VM guest is suspended and resumed. More information is available here: http://www.vmware.com/pdf/vmware_timekeeping.pdf --- templates/ntp.conf.el.erb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/ntp.conf.el.erb') diff --git a/templates/ntp.conf.el.erb b/templates/ntp.conf.el.erb index fc308cc..88d6d72 100644 --- a/templates/ntp.conf.el.erb +++ b/templates/ntp.conf.el.erb @@ -1,3 +1,9 @@ +<% if @is_virtual -%> +# Keep ntpd from panicking in the event of a large clock skew +# when a VM guest is suspended and resumed. +tinker panic 0 + +<% end -%> # Permit time synchronization with our time source, but do not # permit the source to query or modify the service on this system. restrict default kod nomodify notrap nopeer noquery -- cgit v1.2.3