From ae6176c10fb88d2dd90b169033d068280471e11e Mon Sep 17 00:00:00 2001 From: Heitor Matsui Date: Thu, 9 Oct 2025 10:49:04 -0300 Subject: [PATCH] Reload systemd services on post install script The stx-10 -> stx-11 enabler patch adds some services related to the LVM snapshot feature auto-recovery requirement, and while these services are being correctly added after the patch is deployed, they aren't being enabled accordingly as they are on the presets, so this commit adds two instructions to the post install script to reload the systemd configuration. Test Plan PASS: install patch, verify the systemd configuration is updated PASS: remove patch, verify the systemd configuration is updated Closes-bug: 2127192 Change-Id: Ib6fc17db10771c1f0219bcd37810d4b97d7a0eed Signed-off-by: Heitor Matsui --- patch-scripts/install-scripts/24.09.400/post-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/patch-scripts/install-scripts/24.09.400/post-install.sh b/patch-scripts/install-scripts/24.09.400/post-install.sh index 24acb8aef..e2271e289 100644 --- a/patch-scripts/install-scripts/24.09.400/post-install.sh +++ b/patch-scripts/install-scripts/24.09.400/post-install.sh @@ -60,6 +60,10 @@ else $PUPPET_GRUB_SCRIPT --set-kernel-standard fi +### Reload systemd services +systemctl preset-all --preset-mode=full +systemctl daemon-reload + ### Services to restart in all nodes # Set flag to restart software-agent touch /run/software/.restart.software-agent