sonic-buildimage/files
shlomibitton 20deb7985a [Mellanox] [pmon] Fix for PMON service not starting when restarting SWSS service after fast/warm reboot (#10901)
- Why I did it
Recent change to delay PMON service in case of fast/warm reboot introduce an issue when restarting only SWSS service after fast/warm reboot for Nvidia platform.
Since the timer is triggered only when the system boot, in a scenario when the system is after a fast/warm reboot and the user restart SWSS service, as part of syncd.sh script, PMON service will stop but the timer will not start again.

- How I did it
On syncd.sh script, in case of fast/warm indication, check if pmon.timer is running.
If it is running it means we are at the first boot and continue normally.
If it is not running, meaning the service was restarted, start the timer to keep the system behavior consistent.

- How to verify it
Run fast/warm reboot.
service swss restart.
Observe PMON service starting.

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
2022-06-20 08:21:10 -07:00
..
Aboot [202111][Arista] Update driver submodules (#9495) 2022-03-23 21:19:13 +05:30
apt [Build]: Fix armhf mirrors not existing issue (#10312) 2022-03-22 07:28:21 +00:00
build/versions [ci/build]: Upgrade SONiC package versions (#10973) 2022-06-07 14:11:41 +08:00
build_scripts [hostcfgd]: Add Ability To Configure Feature During Run-time (#6700) 2021-03-13 05:56:27 -08:00
build_templates [VoQ][config] Multiasic Supervisor card fails to load config_db#.json in chassis when system is reboot (#10106) 2022-05-15 23:11:01 -07:00
dhcp ZTP infrastructure changes to support DHCP discovery provisioning data (#3298) 2019-12-10 08:16:56 -08:00
docker Enabling ipv6 support on docker container network. This is needed (#5418) 2020-09-22 08:32:17 -07:00
image_config Fix race condition between networking service and interface-config service (#10573) 2022-05-07 23:17:07 -07:00
initramfs-tools [Arista] Fix arista-net initramfs hook 2022-04-20 10:04:21 -07:00
scripts [Mellanox] [pmon] Fix for PMON service not starting when restarting SWSS service after fast/warm reboot (#10901) 2022-06-20 08:21:10 -07:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-05-01 23:16:14 -07:00