-
Notifications
You must be signed in to change notification settings - Fork 45
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
systemd-binfmt.service breaks interop #334
Comments
Disables systemd-binfmt.service to avoid breaking interop. See related bug report: #334
Disables systemd-binfmt.service to avoid breaking interop. See related bug report: #334
* Masked systemd-binfmt.service Disables systemd-binfmt.service to avoid breaking interop. See related bug report: #334 * Wrote test to ensure interop is not broken
It seems this issue is back in recent WSL. I'm experimenting with Wsl 1.3.11 with Ubuntu 23.04. Just found the same issue. It's probably time for a proper fix! The suggestion here, that is disabling Perhaps a proper long term fix would be to include a NOTE this issues comes up a lot!! Hence why I tried to find the earliest and link them. |
cmd /c ver
Microsoft Windows [Versión 10.0.22623.1028]
wsl --status
Distribución predeterminada: Ubuntu-22.04-test
Versión predeterminada: 2
Did the problem occur during installation?
What happened?
systemd-binfmt.service remounts the
/proc/sys/fs/binfmt_misc/
directory, whereWSLInterop
is located and now overriden.This directrory is shared across distros meaning that any distro can break all others' interop.
What was expected?
Interop should not be broken by a service, much less across distros.
Steps to reproduce
wsl --shutdown
/proc/sys/fs/binfmt_misc/WSLInterop
exists.wsl --shutdown
/proc/sys/fs/binfmt_misc/
no longer containsWSLInterop
.notepad.exe
fails.Additional information
No response
The text was updated successfully, but these errors were encountered: