Skip to content

Commit

Permalink
DLPX-68852 systemd-run hung after running "execute" script during upg…
Browse files Browse the repository at this point in the history
…rade (#717)
  • Loading branch information
Prakash Surya authored Mar 20, 2023
1 parent d039309 commit 14910ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion upgrade/upgrade-scripts/upgrade-container
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 14910ad

Please sign in to comment.