This bug was fixed in the package wsl-setup - 0.5.8~20.04

---------------
wsl-setup (0.5.8~20.04) focal; urgency=medium

  [ Carlos Nihelton ]
  * Backport v0.5.8 to Focal to adapt to new Microsoft package format: (LP: 
#2115426):
      * Releasing this package to Focal for the first time.
        - Ship a script that:
          1. Copies and registers the Ubuntu font to user's directory.
          2. Wait for cloud-init if allowed by systemd and WSL.
          3. Request to create an user if not created yet and set it as default.
        - Ship static assets like terminal profile and ubuntu icon in .ico 
format.
      * Updates debian/control dependencies
      * Ship wsl-setup under /usr/lib/wsl/ instead of libexec:
        This is fixing Microsoft's checker warning.

 -- Carlos Nihelton <[email protected]>  Thu, 26 Jun 2025 14:07:44
-0300

** Changed in: wsl-setup (Ubuntu Focal)
       Status: Fix Committed => Fix Released

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

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

Status in wsl-setup package in Ubuntu:
  Fix Released
Status in wsl-setup source package in Focal:
  Fix Released

Bug description:
  Despite being out of standard support, Ubuntu 20.04 LTS Focal Fossa
  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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to