[Bug 1958668] Re: Do not propose to reboot on WSL

Didier Roche 1958668 at bugs.launchpad.net
Mon May 23 15:14:20 UTC 2022


You can check if /proc/sys/fs/binfmt_misc/WSLInterop exists and consider
that you are running on WSL if so. Do you plan on doing the change on
release-upgrader?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1958668

Title:
  Do not propose to reboot on WSL

Status in ubuntu-release-upgrader package in Ubuntu:
  Triaged

Bug description:
  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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1958668/+subscriptions




More information about the foundations-bugs mailing list