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

Different WSLInterop Name #319

Closed
1 task done
SLKun opened this issue Oct 12, 2024 · 3 comments
Closed
1 task done

Different WSLInterop Name #319

SLKun opened this issue Oct 12, 2024 · 3 comments
Assignees
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Status: Patched This is fixed and is part of a released version. Target: 4.x This is targeted to the 4.x release.

Comments

@SLKun
Copy link

SLKun commented Oct 12, 2024

Windows Version

Windows 11

Windows Build Number

23H2 build 22635.3350

WSL Version

WSL 2

Distro Version

Debian 12

WSL Utilities Version

4.1.3-1debian1

Describe the bug

When run wslview, it propmt

$ wslview                                                                                
grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
[error] No input, aborting

Steps to Reproduce

  1. Just run wslview.

Expected behavior

no error.

Additional context

When I check the directorty /proc/sys/fs/binfmt_misc/, I find WSLInterop-late rather than WSLInterop

$ ls /proc/sys/fs/binfmt_misc/              
python3.11  register  status  WSLInterop-late

The content of WSLInterop-late is:

$ cat /proc/sys/fs/binfmt_misc/WSLInterop-late
enabled
interpreter /init
flags: P
offset 0
magic 4d5a

Kernel Version: Linux SL-WJ16Pro 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux

wsl.conf:

[boot]
systemd=true

.wslconfig:

[wsl2]
memory=12GB
processors=6
localhostForwarding=false
guiApplications=true
nestedVirtualization=true
vmIdleTimeout=3600000
dhcp=true
firewall=false
dnsTunneling=false
autoProxy=false
swap=12884901888

[experimental]
autoMemoryReclaim=dropcache
sparseVhd=true

Code of Conduct

  • I agree to follow this project's Code of Conduct
@SLKun SLKun added the Bug This is either an issue that describes a bug or a PR that resolves a bug label Oct 12, 2024
@crramirez
Copy link
Contributor

Please put your WSL version from wsl --version

@patrick330602
Copy link
Member

After investigating, this seems to be generated by a systemd fix by Microsoft: microsoft/WSL#8843

I will try to post a fix in the upcoming days.

@patrick330602 patrick330602 added Status: In Progress This is being worked on and not ready. Target: 4.x This is targeted to the 4.x release. labels Oct 27, 2024
@patrick330602 patrick330602 added Status: Patched This is fixed and is part of a released version. and removed Status: In Progress This is being worked on and not ready. labels Nov 17, 2024
@patrick330602
Copy link
Member

wslu 4.1.4 is released; some packages should be already available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Status: Patched This is fixed and is part of a released version. Target: 4.x This is targeted to the 4.x release.
Projects
None yet
Development

No branches or pull requests

3 participants