Bug 2391502 - Fedora-WSL images not being built
Summary: Fedora-WSL images not being built
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: wsl-setup
Version: 42
Hardware: aarch64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jeremy Cline
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2025-08-28 16:03 UTC by Jeremy Linton
Modified: 2025-08-29 15:23 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-29 15:23:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Linton 2025-08-28 16:03:26 UTC
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.

Comment 1 Jeremy Cline 2025-08-28 18:45:15 UTC
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.

Comment 2 Jeremy Cline 2025-08-28 20:37:17 UTC
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?

Comment 3 Jeremy Linton 2025-08-28 20:47:18 UTC
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.

Comment 4 Jeremy Cline 2025-08-28 21:51:44 UTC
(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.

Comment 5 Jeremy Linton 2025-08-29 15:11:27 UTC
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 :)

Comment 6 Jeremy Linton 2025-08-29 15:17:12 UTC
Ok, yes I see there are some aarch64 builds now, so thats good too.

Comment 7 Jeremy Cline 2025-08-29 15:23:37 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.