Switch the ntp
daemon to slew mode 24 hours prior to the leap second, continue in slew mode for 48 hours afterwards and then revert to normal operation.
To switch the ntp
daemon to slew mode:
/etc/sysconfig/ntp
configuration file using a text editor.NTPD_OPTIONS
setting. It looks similar to:NTPD_OPTIONS="-g -u ntp:ntp"
-x
switch.NTPD_OPTIONS="-x -g -u ntp:ntp"
service ntp restart
When the leap second window is over, the NTP mode can be safely changed back again.
To switch the ntp
daemon back to regular operation after the leap second:
/etc/sysconfig/ntp
configuration file using a text editor.NTPD_OPTIONS
setting. It looks similar to:NTPD_OPTIONS="-x -g -u ntp:ntp"
-x
switch.NTPD_OPTIONS="-g -u ntp:ntp"
service ntp restart