On Fri, Jan 13, 2023 at 6:41 PM Scott Bradnick <scott.bradnick@suse.com> wrote:
On Fri, 2023-01-13 at 08:32 +0100, Roger Oberholtzer wrote:
When installing WSL on Windows, one has a choice to install a Linux distro. SLED15 and an earlier one are amongst the distros available. But no openSUSE distros are available at that level. They are available in the Store. But not direct in Windows at the command line.
I'm curious why SLED is the only one available directly. Political?
Tumbleweed is available via the store. Here's where it gets interesting: on a company managed Windows PC, they can control what you can get from the Store. In my company at least, Tumbleweed is not on the list. I bet this is the case for many corporate users. So they select a distro from those that are immediately available. For SUSE I guess it is good if an SLED is selected. I get that. But from a openSUSE perspective, the situation is less good.
tl;dr - The Store and the `--web-download` (and/or what you see with `--online`) methods are controlled by 2 different entities [the Microsoft partner portal vs. DistributionInfo.json from github.com/microsoft/wsl) but have slight overlap depending on the configuration of the .json file for any given github WSL release. Things on the Microsoft side w/ WSL delivery are a bit in flux, but should even out in the next few months. The transition from <1.0.0 to >=1.0.0 has had growing pains, but should end up a win overall.
I can get into it more if you'd like (or maybe this[1] will shed more light), but there's only so much we can control at the moment and we're working on it :)
I'm not sure what you're referring to w/ the SLED part of your comments or how that relates to what you'd see here[2]. If you care to elaborate, maybe we can clear that up. SLED _is_ an option when registering as part of firstboot for SLE WSL distro(s), that's recently new - but there's no "You're getting SLED" item in the Store.
Also, if you share more info around output from `wsl --list --online` and/or `wsl --status` and/or `wsl --version`, that would be useful too.
wsl --list --online 2004.622.0:<2023/1/16, 8:57:18>: 0x80070005 (WIN32: 5 ERROR_ACCESS_DENIED) The following is a list of valid distributions that can be installed. Install using 'wsl --install -d <Distro>'. NAME FRIENDLY NAME Ubuntu Ubuntu Debian Debian GNU/Linux kali-linux Kali Linux Rolling SLES-12 SUSE Linux Enterprise Server v12 SLES-15 SUSE Linux Enterprise Server v15 Ubuntu-18.04 Ubuntu 18.04 LTS Ubuntu-20.04 Ubuntu 20.04 LTS OracleLinux_8_5 Oracle Linux 8.5 OracleLinux_7_9 Oracle Linux 7.9 wsl --status Default Distribution: Debian Default Version: 2 Windows Subsystem for Linux was last updated on 1/4/2023 The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings. To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'. For more information please visit https://aka.ms/wsl2kernel. Kernel version: 5.10.102.1 -- Roger Oberholtzer