To the SRU team: This SRU to align the supported WSL images on the same
base. We need it before rebuilding 20.04 image with the new format to
deploy on Canonical's infrastructure now that the MS Store is
deprecated.

** Description changed:

  Despite being out of standard support, Ubuntu 20.04 LTS Focal Fossa
- remains an important release under WSL. Data insights show that around
- 10% of the Monthly Active User base of Ubuntu releases on WSL remain on
- 20.04. The `wsl-setup` package is critical for building usable WSL
- images in the new tar-based format that no longer requires or depends on
- MS Store. Building images of Focal in this new format allows for more
- adoption of Ubuntu on WSL in corporate environments, where MS Store is
- usually restricted or inaccessible, and that feeds into the adoption of
- Ubuntu Pro, given that those running Focal in corporations (due EOL) are
- likely Pro subscribers. Thus enabling Focal in the new image format is
- strategical for Ubuntu on WSL and Ubuntu Pro.
+ remains an important release under WSL. The `wsl-setup` package is
+ critical for building usable WSL images in the new tar-based format that
+ no longer requires or depends on MS Store. Building images of Focal in
+ this new format allows for more adoption of Ubuntu on WSL in corporate
+ environments, where MS Store is usually restricted or inaccessible, and
+ that feeds into the adoption of Ubuntu Pro, given that those running
+ Focal in corporations (due EOL) are likely Pro subscribers. Thus
+ enabling Focal in the new image format is strategical for Ubuntu on WSL
+ and Ubuntu Pro.
  
  [Impact]
  
  * `wsl-setup` is exclusive to Ubuntu WSL, so no other Ubuntu product or 
experience is affected.
  * The mere acceptance of wsl-setup into Focal now is harmless because it will 
be a new package, only installable explicitly, not via upgrades.
  * Current Ubuntu 20.04 on WSL instances that could get `wsl-setup` installed 
by `apt install wsl-setup` won't be functionally affected, as no code will be 
executed as part of the installation or later. The same contents of the systemd 
overrides shipped within this package are already injected into the rootfs via 
the Windows binary that launches the distro instance during the first run, so 
they will be just redundant.
  * Once we start building new images (in the new tar-based format) with the 
planned version of wsl-setup already seeded, then we'll have measurable impacts 
of the changes herein proposed, but those would only affect new installations. 
The script and systemd overrides herein proposed are the same present in Jammy 
and later, thus those releases will be in feature parity in terms of first boot 
experience.
  
  [Test Plan]
  
  - Requires Windows 10 or 11 and WSL.
  
  Test 1. Check systemd overrides
  
  * Install a fresh instance of Ubuntu 20.04 on WSL: `wsl.exe --install -d 
Ubuntu-20.04`
  * Once the setup finishes, verify the system status with `systemctl --failed` 
It should print 0 failed units:
  u@DESKTOP-551PQ9O:~$ systemctl --failed
    UNIT LOAD ACTIVE SUB DESCRIPTION
  0 loaded units listed.
  * Exit (Ctrl+D), shutdown WSL and restart the instance: `wsl.exe --shutdown; 
wsl.exe -d Ubuntu-20.04`
  * Once the shell is up and running, verify the system status again with 
`systemctl --failed` It should print 0 failed units.
  * Enable '-proposed' and apply selective upgrading from it, as described in 
https://wiki.ubuntu.com/Testing/EnableProposed.
  * Install wsl-setup: `apt install -y wsl-setup/focal-proposed`.
  0 loaded units listed.
  * Exit (Ctrl+D), shutdown WSL and restart the instance: `wsl.exe --shutdown; 
wsl.exe -d Ubuntu-20.04`
  * Once the shell is up and running, verify the system status once more with 
`systemctl --failed` It should print 0 failed units.
  
  [Where problems could occur]
  
  Existing users manually installing `wsl-setup` could find insufficient
  systemd unit overrides leading to a degraded output from `systemctl
  --status`. Even under that condition, most users wouldn't notice any
  issue in practice. Yet, there is no practical reason for users to
  install this package today. Subsequent work is needed to patch livecd-
  rootfs and the ubuntu seed for focal to build focal in the new image
  format and thus leverage those changes in wsl-setup.
  
  [Other Info]
  
   * `wsl-setup` is already in main for Jammy and later, but never
  released into Focal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115426

Title:
  [SRU] Backport wsl-setup as new packge for Focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wsl-setup/+bug/2115426/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to