[Merge] ~edugomez/ubuntu-release-upgrader/+git/ubuntu-release-upgrader-1:ubuntu/main into ubuntu-release-upgrader:ubuntu/main
Eduard Gómez Escandell
mp+424932 at code.launchpad.net
Fri Jun 17 08:18:12 UTC 2022
Eduard Gómez Escandell has proposed merging ~edugomez/ubuntu-release-upgrader/+git/ubuntu-release-upgrader-1:ubuntu/main into ubuntu-release-upgrader:ubuntu/main.
Commit message:
No longer restarting at the end on WSL (LP: #1958668).
Requested reviews:
Ubuntu Core Development Team (ubuntu-core-dev)
For more details, see:
https://code.launchpad.net/~edugomez/ubuntu-release-upgrader/+git/ubuntu-release-upgrader-1/+merge/424932
This merge proposal solves bug #1958668:
"""
On WSL, at the end of a do-release-upgrade, the upgrader proposes to reboot the machine. Although on WSL it is not possible to reboot due to the lack of systemd and it ends with an error.
The message at the end should be different if it is running on a system where systemd is not available or specifically on WSL and do not propose a reboot but to manually shutdown and restart the instance.
"""
To fix it, instead of proposing a reboot, it advises to close all instances of Ubuntu on WSL. This does not guarantee that the distro will shutdown (it takes around 10 seconds for WSL to decide to shutdown a distro, and most users may not wait that long), so the package also creates a file /run/launcher-command instructing Ubuntu WLS Launcher to reboot before launching.
--
Your team Ubuntu Core Development Team is requested to review the proposed merge of ~edugomez/ubuntu-release-upgrader/+git/ubuntu-release-upgrader-1:ubuntu/main into ubuntu-release-upgrader:ubuntu/main.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2624 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20220617/6d935231/attachment-0001.diff>
More information about the Ubuntu-reviews
mailing list