From 1b049421aa3d84637c97b90d4fc537a7071ea8a9 Mon Sep 17 00:00:00 2001 From: Arun Saravanan Balachandran <52521751+ArunSaravananBalachandran@users.noreply.github.com> Date: Tue, 5 Jan 2021 04:33:44 +0000 Subject: [PATCH] [DellEMC] Add platform-modules as prerequisite for determine-reboot-cause (#6322) Add a systemd dependency to make platform-modules service as a prerequisite for determine-reboot-cause service to ensure platform initialization is complete before determine-reboot-cause.service executes. --- .../s5232f/systemd/platform-modules-s5232f.service | 2 +- .../s6000/systemd/platform-modules-s6000.service | 2 +- .../s6100/systemd/platform-modules-s6100.service | 2 +- .../z9100/systemd/platform-modules-z9100.service | 2 +- .../z9264f/systemd/platform-modules-z9264f.service | 2 +- .../z9332f/systemd/platform-modules-z9332f.service | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/broadcom/sonic-platform-modules-dell/s5232f/systemd/platform-modules-s5232f.service b/platform/broadcom/sonic-platform-modules-dell/s5232f/systemd/platform-modules-s5232f.service index 7fb3801e33..0ca31b522b 100644 --- a/platform/broadcom/sonic-platform-modules-dell/s5232f/systemd/platform-modules-s5232f.service +++ b/platform/broadcom/sonic-platform-modules-dell/s5232f/systemd/platform-modules-s5232f.service @@ -1,6 +1,6 @@ [Unit] Description=Dell S5232f Platform modules -Before=pmon.service +Before=pmon.service determine-reboot-cause.service DefaultDependencies=no [Service] diff --git a/platform/broadcom/sonic-platform-modules-dell/s6000/systemd/platform-modules-s6000.service b/platform/broadcom/sonic-platform-modules-dell/s6000/systemd/platform-modules-s6000.service index b55a466890..22de50ca92 100644 --- a/platform/broadcom/sonic-platform-modules-dell/s6000/systemd/platform-modules-s6000.service +++ b/platform/broadcom/sonic-platform-modules-dell/s6000/systemd/platform-modules-s6000.service @@ -1,7 +1,7 @@ [Unit] Description=Dell S6000 Platform modules After=local-fs.target -Before=pmon.service +Before=pmon.service determine-reboot-cause.service [Service] Type=oneshot diff --git a/platform/broadcom/sonic-platform-modules-dell/s6100/systemd/platform-modules-s6100.service b/platform/broadcom/sonic-platform-modules-dell/s6100/systemd/platform-modules-s6100.service index 9b5805d5cb..4883ecf268 100644 --- a/platform/broadcom/sonic-platform-modules-dell/s6100/systemd/platform-modules-s6100.service +++ b/platform/broadcom/sonic-platform-modules-dell/s6100/systemd/platform-modules-s6100.service @@ -1,6 +1,6 @@ [Unit] Description=Dell S6100 Platform modules -Before=pmon.service +Before=pmon.service determine-reboot-cause.service DefaultDependencies=no [Service] diff --git a/platform/broadcom/sonic-platform-modules-dell/z9100/systemd/platform-modules-z9100.service b/platform/broadcom/sonic-platform-modules-dell/z9100/systemd/platform-modules-z9100.service index 00fbfa6803..390cb6e0f5 100644 --- a/platform/broadcom/sonic-platform-modules-dell/z9100/systemd/platform-modules-z9100.service +++ b/platform/broadcom/sonic-platform-modules-dell/z9100/systemd/platform-modules-z9100.service @@ -1,6 +1,6 @@ [Unit] Description=Dell Z9100 Platform modules -Before=pmon.service +Before=pmon.service determine-reboot-cause.service DefaultDependencies=no [Service] diff --git a/platform/broadcom/sonic-platform-modules-dell/z9264f/systemd/platform-modules-z9264f.service b/platform/broadcom/sonic-platform-modules-dell/z9264f/systemd/platform-modules-z9264f.service index b89f61ea62..05d920a850 100644 --- a/platform/broadcom/sonic-platform-modules-dell/z9264f/systemd/platform-modules-z9264f.service +++ b/platform/broadcom/sonic-platform-modules-dell/z9264f/systemd/platform-modules-z9264f.service @@ -1,6 +1,6 @@ [Unit] Description=Dell Z9264f Platform modules -Before=pmon.service +Before=pmon.service determine-reboot-cause.service DefaultDependencies=no [Service] diff --git a/platform/broadcom/sonic-platform-modules-dell/z9332f/systemd/platform-modules-z9332f.service b/platform/broadcom/sonic-platform-modules-dell/z9332f/systemd/platform-modules-z9332f.service index 49064b00d6..348313718a 100644 --- a/platform/broadcom/sonic-platform-modules-dell/z9332f/systemd/platform-modules-z9332f.service +++ b/platform/broadcom/sonic-platform-modules-dell/z9332f/systemd/platform-modules-z9332f.service @@ -1,6 +1,6 @@ [Unit] Description=Dell Z9332f Platform modules -Before=pmon.service +Before=pmon.service determine-reboot-cause.service DefaultDependencies=no [Service]