Skip to content

Commit

Permalink
Reload systemd config before systemctl cat in upgrade
Browse files Browse the repository at this point in the history
The systemd config needs to be reloaded between the config files
cleanup step and the service upgrade as that one starts with a systemctl
cat.
  • Loading branch information
cbosdo committed Nov 13, 2024
1 parent ca0ac86 commit 5583d8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mgradm/shared/podman/podman.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ func Upgrade(
return err
}

if err := systemd.ReloadDaemon(false); err != nil {
return err
}

if err := updateServerSystemdService(); err != nil {
return err
}
Expand Down
1 change: 1 addition & 0 deletions uyuni-tools.changes.cbosdo.upgrade-fix
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Run systemctl daemon-reload after changing the container image config (bsc#1233279)
- coco-replicas-upgrade

0 comments on commit 5583d8e

Please sign in to comment.