[Merge] ~edugomez/ubuntu-release-upgrader:no-restart-wsl into ubuntu-release-upgrader:ubuntu/main
Eduard Gómez Escandell
mp+425846 at code.launchpad.net
Wed Jun 29 07:32:15 UTC 2022
Eduard Gómez Escandell has proposed merging ~edugomez/ubuntu-release-upgrader:no-restart-wsl into ubuntu-release-upgrader:ubuntu/main.
Commit message:
DistUpgrade: No longer attempting to reboot in 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/+merge/425846
On WSL, at the end of a do-release-upgrade, the upgrader proposes to reboot the machine and then fails to do so. This happens because it is not possible to reboot, due to the lack of systemd. This results in an error.
There is no clean way of restarting from within WSL, so the solution is to ask the user to close all other Ubuntu WSL instances before the current one, and signal the Launcher to restart after quitting. This will kill all instances of Ubuntu WSL, hence why the user is advised to close the others first.
--
Your team Ubuntu Core Development Team is requested to review the proposed merge of ~edugomez/ubuntu-release-upgrader:no-restart-wsl into ubuntu-release-upgrader:ubuntu/main.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2854 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20220629/96aede64/attachment.diff>
More information about the Ubuntu-reviews
mailing list