From 14910adf1768ad1a361c5b2b5183e5c9bdbc6188 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Mon, 20 Mar 2023 13:02:29 -0700 Subject: [PATCH] DLPX-68852 systemd-run hung after running "execute" script during upgrade (#717) --- upgrade/upgrade-scripts/upgrade-container | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/upgrade/upgrade-scripts/upgrade-container b/upgrade/upgrade-scripts/upgrade-container index d2e736a5..e130a0d8 100755 --- a/upgrade/upgrade-scripts/upgrade-container +++ b/upgrade/upgrade-scripts/upgrade-container @@ -593,7 +593,10 @@ function run() { # the upgrade. Thus, to try and avoid the failure to begin with, # we restart this service, which serves to run "daemon-reexec". # - systemctl restart systemd-reexec.service + # This will fail on versions of Delphix that don't yet have + # this service, so we hide any failure to account for that. + # + systemctl restart systemd-reexec.service 2>/dev/null systemd-run \ --machine="$CONTAINER" \