-
Notifications
You must be signed in to change notification settings - Fork 822
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
WSLInterop in effect even with interop.enabled = false
in wsl.conf
#11920
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
Diagnostic information
|
/emailed-logs |
Diagnostic information
|
@mataha: Can you capture an strace of the command that's showing this error ? If you're trying to run a Windows command with interop disabled, this error is expected. |
It's not a Windows command (though it runs on Windows just fine) - in fact, I can run it without any hiccups if I disable WSLInterop manually: $ sudo sh -c 'echo -1 >"/proc/sys/fs/binfmt_misc/WSLInterop"'
$ ./make --version
GNU Make 4.4.1
Built for x86_64-linux-cosmo
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. But that defeats the point of
|
Setting
The file
and if running it when
File info:
The test can be done with a Windows binary, i.e. notepad, using an APE binary is not necessary:
|
Windows Version
Microsoft Windows [Version 10.0.19045.4651]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 22.04
Other Software
Applicable to any binary utilizing the Actually Portable Executable format.
Repro Steps
Expected Behavior
Actual Behavior
Diagnostic Logs
/emailed-logs
The text was updated successfully, but these errors were encountered: