Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Exec format error when enabled Distrod. #71

Open
onurbbr opened this issue Aug 24, 2022 · 1 comment
Open

[Bug]: Exec format error when enabled Distrod. #71

onurbbr opened this issue Aug 24, 2022 · 1 comment

Comments

@onurbbr
Copy link

onurbbr commented Aug 24, 2022

Describe the bug

I installed Distrod with my Ubuntu.tar.xz backup (stock distro file of Ubuntu). When I activate Distrod, I get Exec Format error. You can clearly see this in the video.

2022-08-24.12-27-31.mp4

Steps to reproduce

1- Enable Distrod on Default WSL2 Distro
2- Start WSL2 Distro
3- Run any exe file like explorer.exe, code.exe, notepad.exe, etc.
4- See error.

Expected behavior

exe files run smoothly.

Windows version

Windows 11 21H2 22622.575

Linux kernel version

5.15.57.1-microsoft-standard-WSL2

Distro

Ubuntu 22.04.1

How did you install that distro?

Enabled distrod in an existing WSL2 distro

Logs

-- No entries --

additional comment

I couldn't find any logs in Journal.

Note: LAMP, nodejs, bleeding-edge llvm packages, cuda and docker packages are installed. I'm pretty sure it's not due to llvm and cuda. I don't think Docker will give an error like this either.

EDIT: Nodejs is causing this. I have no clue why it's causing this.

@ar37-rs
Copy link

ar37-rs commented Sep 22, 2022

@onurbbr

sudo systemctl disable systemd-binfmt
sudo systemctl mask systemd-binfmt

and then restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants