Running 'wsl --install' on my aarch64 windows11 laptop I see a handful of distros: debian, various ubuntu releases, kali linux, opensuse leap, tumbleweed, etc. Notably missing is fedora, which is ok I guess, I can fetch it using the documentation https://docs.fedoraproject.org/en-US/cloud/wsl/ Except that https://koji.fedoraproject.org/koji/packageinfo?packageID=41688 shows that only x86 builds are being created. Reproducible: Always Steps to Reproduce: 1. Go to random electronics store and purcahse a MS surface, or one of the dozen vendors providing windows arm laptops . 2. open a command prompt on the laptop and type 'wsl --install` and wait for the install to complete. 3. Follow the directions on the fedora page linked above. Actual Results: No fedora to be found. Expected Results: Fedora is listed alongside other common distros.
Hi Jeremy, thanks for the report. So there's two issues here. The first issue is that there's currently some build failures for WSL images which depend (from my understanding) on the builder they land on. For example, yesterday on F43 both succeeded: https://koji.fedoraproject.org/koji/buildinfo?buildID=2806864. The issue is that the selinux policy on the builders and the target environment aren't aligned (infra is probably going to fix that soon). However, WSL doesn't actually use SELinux, so I've submitted https://pagure.io/fedora-kiwi-descriptions/pull-request/213. The second issue which I can't explain is why you're not seeing Fedora via `wsl`. WSL pulls the set of available online images from here: https://github.com/microsoft/WSL/blob/feb9ad97a4532a4887bd24bf4a579bf38d11f2b7/distributions/DistributionInfo.json#L174 and it does include an Arm64 image. I do not, unfortunately, have an arm laptop to test with so I'm going to have to inquire if someone on the WSL team can figure out why you're not seeing it.
I tried to reproduce this with a VM in Azure. Sadly, none of the Arm64 SKUs are capable of nested virtualization, but I was still able to run `wsl --list --online` and it showed me FedoraLinux-42 as an option. Do you not see it listed at all, or does it not work when you actually try to install it?
Its possible the wsl --install list on my machine just isn't showing it because its running a ~1.5 year old win11 install that needed a kick (and then failed on the first try and is downloading about 1% every 10 mins now) to upgrade. Its retrying the upgrade and I will report about it showing up automatically once i'm on a more recent windows.
(In reply to Jeremy Linton from comment #3) > Its possible the wsl --install list on my machine just isn't showing it > because its running a ~1.5 year old win11 install that needed a kick (and > then failed on the first try and is downloading about 1% every 10 mins now) > to upgrade. Its retrying the upgrade and I will report about it showing up > automatically once i'm on a more recent windows. Ah, yes that's it. You'll need WSL 2.4+ since that's when they added support for plain tarballs.
So the missing fedora option is a problem with the machine (flex5g) and windows install, other machines show it. Now on to the missing builds :)
Ok, yes I see there are some aarch64 builds now, so thats good too.
Great. Yeah, both Rawhide and Fedora 43 builds are now skipping the SELinux stuff so today's builds have both images again. Fedora 42 doesn't include the fix, but we only save the GA images (and register those with WSL) that's okay. Given that, I think we can close this as fixed.