View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011914 | Rocky-Linux-10 | General | public | 2026-01-28 20:22 | 2026-01-28 20:22 |
| Reporter | Ryan Kozak | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Product Version | 10.1 | ||||
| Summary | 0011914: WSL Image Cannot Execute Windows Binaries By Default | ||||
| Description | After installing the Rocky 10 WSL image it cannot execute Windows binaries by default. Trying to do so will fail with the following error: [user@host ~]$ ssh.exe -bash: /mnt/c/WINDOWS/System32/OpenSSH/ssh.exe: cannot execute binary file: Exec format error This is a known issue when systemd is enabled in a WSL issue and there is a resolution as seen here: https://serverfault.com/a/1141563 sudo sh -c 'echo :WSLInterop:M::MZ::/init:PF > /usr/lib/binfmt.d/WSLInterop.conf' sudo systemctl restart systemd-binfmt Given the WSL image enables systemd by default, it would be good to include the above file in the image. Failing that, it would be good to mention this in the documentation at https://docs.rockylinux.org/10/guides/interoperability/import_rocky_to_wsl/ | ||||
| Additional Information | Windows 11 Pro 25H2 26200.7623 [user@host ~]$ wsl --version WSL version: 2.6.3.0 Kernel version: 6.6.87.2-1 WSLg version: 1.0.71 MSRDC version: 1.2.6353 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26200.7623 [user@host ~]$ sha256sum Rocky-10-WSL-Base.latest.x86_64.wsl 5f3a688abfedbf6fc2ff22bfe7e144ed79e452979f09aa5daa493876341b752d Rocky-10-WSL-Base.latest.x86_64.wsl [user@host ~]$ uname -a Linux host 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 GNU/Linux [user@host ~]$ cat /etc/os-release NAME="Rocky Linux" VERSION="10.1 (Red Quartz)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="10.1" PLATFORM_ID="platform:el10" PRETTY_NAME="Rocky Linux 10.1 (Red Quartz)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:10::baseos" HOME_URL="https://rockylinux.org/" VENDOR_NAME="RESF" VENDOR_URL="https://resf.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" SUPPORT_END="2035-05-31" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-10" ROCKY_SUPPORT_PRODUCT_VERSION="10.1" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="10.1" | ||||
| Tags | wsl | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-01-28 20:22 | Ryan Kozak | New Issue | |
| 2026-01-28 20:22 | Ryan Kozak | Tag Attached: wsl |