sonic-buildimage/files
SuvarnaMeenakshi fba321ae6c [ntp]: Add "tinker panic 0" in ntp.conf to avoid ntpd from panic (#4263)
- What I did
Add configuration to avoid ntpd from panic and exit if the drift between new time and current system time is large.

- How I did it
Added "tinker panic 0" in ntp.conf file.

- How to verify it
[this assumes that there is a valid NTP server IP in config_db/ntp.conf]

Change the current system time to a bad time with a large drift from time in ntp server; drift should be greater than 1000s.
Reboot the device.
Before the fix:
3. upon reboot, ntp-config service comes up fine, ntp service goes to active(exited) state without any error message. This is because the offset between new time (from ntp server) and the current system time is very large, ntpd goes to panic mode and exits. The system continues to show the bad time.

After the fix:
3. Upon reboot, ntp-config comes up fine, ntp services comes up from and stays in active (running) state. The system clock gets synced with the ntp server time.
2020-04-03 19:42:17 +00:00
..
Aboot [arista]: Fix convertfs condition for booting from EOS (#4139) 2020-02-25 16:38:56 +00:00
apt [201811][apt] Instruct apt-get to NOT check the "Valid Until" date in Release files (#3975) 2020-01-08 08:34:45 -08:00
build_scripts [build_debian] Include checksum of ASIC config files in SONiC filesystem (#3384) 2019-09-09 18:53:15 +00:00
build_templates [mellanox] add hardware watchdog script (#4274) 2020-03-31 20:34:55 -07:00
dhcp [updategraph] Use empty configuration when DHCP graphurl option is missing (#2185) 2018-10-29 12:16:00 -07:00
docker [docker-engine]: upgrade docker engine to 18.09 (#2417) 2019-01-04 20:47:43 -08:00
image_config [ntp]: Add "tinker panic 0" in ntp.conf to avoid ntpd from panic (#4263) 2020-04-03 19:42:17 +00:00
initramfs-tools [arista]: Fix convertfs condition for booting from EOS (#4139) 2020-02-25 16:38:56 +00:00
scripts Sleep done before mismatch handler (#4165) 2020-02-25 16:39:33 +00:00
sshd [security] Do not generate ssh server keys for non RSA protocols (#2718) 2019-03-29 22:37:47 +00:00