Custom distro manifest defined via DistributionListUrl registry key never updates manifest.

Windows Version

Microsoft Windows [Version 10.0.22631.5624]

WSL Version

2.5.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.2-microsoft-standard-WSL2

Distro Version

N/A

Other Software

No response

Repro Steps

  1. Configured HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\DistributionListUrl to an artifactory location where I can 'curl' download manifest.
  2. Ran 'wsl.exe -l --online' and successfully saw my custom distros.
  3. Changed the manifest in artifactory, and confirmed the change via 'curl' command.
  4. Ran 'wsl.exe -l --online' again, and saw the same results from older version.
  5. Ran 'wsl.exe --shutdown', then ran 'wsl.exe -l --online' again, and still saw same results from older version.
  6. Re-uploaded manifest to a different location, then updated the registry key to that location.
  7. Ran 'wsl-exe -l --online' and saw the updated list.

Expected Behavior

WSL should re-pull the updated manifest and provide an updated list without having to change the registry key. It doesn't seem practical to have to change registries across a fleet of systems every time we need to update the manifest

Actual Behavior

Current behavior suggests you have to change the registry key every time you change the manifest in order to trigger re-download/update.

Diagnostic Logs

No response