sonic-buildimage/files/image_config
Stephen Sun ba4f0f30c8 [process-reboot-cause]Address the issue: Incorrect reboot cause returned when warm reboot follows a hardware caused reboot (#3880)
* [process-reboot-cause]Address the issue: Incorrect reboot cause returned when warm reboot follows a hardware caused reboot
1. check whether /proc/cmdline indicates warm/fast reboot.
   if yes the software reboot cause file will be treated as the reboot cause.
   finish
2. check whether platform api returns a reboot cause.
   if yes it is treated as the reboot cause.
   finish.
3. check whether /hosts/reboot-cause contains a cause.
   if yes it is treated as the cause otherwise return unknown.

* [process-reboot-cause]Fix review comments

* [process-reboot-cause]address comments
1. use "with" statement
2. update fast/warm reboot BOOT_ARG

* [process-reboot-cause]address comments

* refactor the code flow

* Remove escape

* Remove extra ':'
2019-12-18 11:17:17 -08:00
..
apt [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
bash [baseimage]: Increase TMOUT for serial port connections to 15 minutes (#3032) 2019-06-19 00:16:01 -07:00
caclmgrd [caclmgrd] Don't crash if we find empty/null rule_props (#2475) 2019-01-23 18:47:05 -08:00
constants [TSA]: Add community to the loopback prefix, when isolated (#3708) 2019-11-06 16:07:28 -08:00
cron.d [core_cleanup] Fix issue where core_cleanup job runs too frequently (#3659) 2019-10-23 15:55:47 -07:00
ebtables [ebtables] install ebtables in base image and install filter rules (#2805) 2019-05-09 09:44:41 -07:00
environment [image]: Update login message (#706) 2017-06-14 15:18:02 -07:00
fstrim [baseimage]: Add fstrim service and fstrim timer by default (#2804) 2019-04-21 14:21:16 -07:00
hostcfgd [hostcfgd] Add support to enable/disable optional features (#3653) 2019-11-26 14:11:12 -08:00
hostname [hostname-config] improve hostname-config process (#3676) 2019-10-29 08:30:27 -07:00
interfaces Loopback ip addresses move to intfmgrd for supporting VRF 2019-11-10 02:27:33 -08:00
logrotate [logrotate] Enhance robustness (#2942) 2019-05-25 18:00:18 -07:00
misc [docker-syncd]: Restart SwSS, syncd and dependent services if a critical process in syncd container exits unexpectedly (#3534) 2019-11-09 10:26:39 -08:00
monit [baseimage]: fix monit configuration (#3448) 2019-09-12 22:48:40 -07:00
ntp [ntp]: modified ntp script to hide the error related to cfggen (#3745) 2019-11-14 00:06:54 -08:00
platform [aboot]: preserve snmp.yml and acl.json for eos to sonic fast reboot (#3716) 2019-11-06 20:18:31 -08:00
procdockerstatsd Add daemon which periodically pushes process and docker stats to State DB (#3525) 2019-11-27 15:35:41 -08:00
process-reboot-cause [process-reboot-cause]Address the issue: Incorrect reboot cause returned when warm reboot follows a hardware caused reboot (#3880) 2019-12-18 11:17:17 -08:00
rsyslog [rsyslog] Add support for IPv6 remote addresses (#3754) 2019-11-14 00:00:55 -08:00
snmp [SNMP] management VRF SNMP support (#2608) 2019-09-18 17:26:45 -07:00
sudoers [sudoers] Add /usr/bin/teamshow to READ_ONLY_CMDS (#2846) 2019-05-01 08:01:44 -07:00
systemd [services] Restart SwSS service upon unexpected critical process exit (#2845) 2019-05-01 08:02:38 -07:00
updategraph [pfcwd]: Do not start pfc watchdog on Management Tor (#3719) 2019-11-06 18:51:02 -08:00
warmboot-finalizer [control plane assistant] stop control plane assistant after warm reboot (#3337) 2019-08-15 00:45:54 -07:00