sonic-buildimage/files/image_config
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
..
apt [baseimage]: Download picocom version 3.1-2 from stretch-backports; No longer build from source (#1946) 2018-08-17 17:38:20 -07:00
asn [BGPD]: add bgp dynamic neighbor configuration (#708) 2017-06-21 18:52:50 -07:00
bash [baseimage]: Increase TMOUT for serial port connections to 15 minutes (#3032) 2019-06-19 19:07:36 +00:00
caclmgrd [caclmgrd] Fix application of IPv6 service ACL rules (part 2) (#4036) 2020-01-18 01:44:42 +00:00
corefile_uploader corefile uploader: Updates per review comments offline (#3915) 2020-01-06 21:03:40 +00:00
cron.d [core_cleanup] Fix issue where core_cleanup job runs too frequently (#3659) 2019-10-24 17:04:16 +00:00
ebtables [ebtables] install ebtables in base image and install filter rules 2019-05-06 22:13:03 +00:00
environment [image]: Update login message (#706) 2017-06-14 15:18:02 -07:00
hostcfgd [hostcfgd] avoid in place editing config file contents (#3904) 2019-12-14 03:27:39 +00:00
hostname [hostname-config] improve hostname-config process (#3676) 2019-10-29 15:42:23 +00:00
interfaces [201811] [interfaces-config.sh] Flush the loopback interface addresses (#4234) 2020-03-09 16:14:59 -07:00
logrotate [logrotate] Enhance robustness (#2942) 2019-05-29 00:53:13 +00:00
monit [Monit] Delay start of monitoring for 5 minutes (#4281) 2020-03-19 22:49:04 +00:00
ntp [ntp]: Add "tinker panic 0" in ntp.conf to avoid ntpd from panic (#4263) 2020-04-03 19:42:17 +00:00
platform [aboot]: preserve snmp.yml and acl.json for eos to sonic fast reboot (#3716) 2019-11-07 21:40:20 +00:00
process-reboot-cause [process-reboot-cause]Clean up the process-reboot-cause as reqired in issue 3927 (#4128) 2020-02-14 19:37:30 +00:00
rsyslog [rsyslog] Suppress duplicate messages from base image and all Docker containers (#2497) 2020-04-02 21:42:01 +00:00
snmp Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
sudoers [sudoers] Add /usr/bin/teamshow to READ_ONLY_CMDS (#2846) 2019-05-01 15:51:13 +00:00
systemd [services] Restart SwSS service upon unexpected critical process exit (#2845) (#2852) 2019-07-29 18:10:26 -07:00
updategraph [pfcwd]: Do not start pfc watchdog on Management Tor (#3719) 2019-11-07 21:41:32 +00:00
warmboot-finalizer [control plane assistant] stop control plane assistant after warm reboot (#3337) 2019-08-15 20:28:42 +00:00
watchdog-control Correct the watch-control service to call the right script (#3906) 2019-12-14 09:42:36 -08:00