And to answer the initial question, no, we should not be using the non-blocking systemctl calls here, that'd just paper over broken systems.
I'm not sure why lxd-containers would be re-triggered on upgrade though, in theory lxd-containers should be kept as it is (normally running) and the lxd unit is the one that should be brought down and back up.
And to answer the initial question, no, we should not be using the non-blocking systemctl calls here, that'd just paper over broken systems.
I'm not sure why lxd-containers would be re-triggered on upgrade though, in theory lxd-containers should be kept as it is (normally running) and the lxd unit is the one that should be brought down and back up.