-
Notifications
You must be signed in to change notification settings - Fork 92
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]: wsl
fails when Distrod instance has been already launched, disturbing many Windows apps (e.g. Docker Desktop, Visual Studio Code)
#91
Comments
Same here, this error happen right after installing one of these update for windows (don't know which one particulary) KB5032190 / KB5032007 / KB5032883 |
I guess the only solution is to disable |
Is there any way to migrate an existing Distrod instance to native WSL one without losing installed apps and data? |
I'm also seeing this. Current workaround is to downgrade to WSL 1.3.17.0. |
same here...I can open one terminal with wsl arch linux....all other fails with <3>WSL (233) ERROR: UtilTranslatePathList:2853: Failed to translate c:\somefile... I can do wsl --shutdown....then first terminal will open ok...all others will fail |
This is actually a workaround solution worked for me.
to /etc/wsl.conf |
Also you can install any of the linux distros at linuxcontainers.org without distrod by simply downloading the root.tar.xz and running something like: Example image found here: Combined with the built-in systemd support, I no longer need distrod. |
Describe the bug
Normally running
wsl
in Windows starts Linux shell, but it fails when the Linux instance with Distrod has been already launched. This means: you cannot open two tabs in Windows Terminal. Furthermore, apps running on the host Windows like Docker Desktop and Visual Studio Code (via Connect to WSL) stops working as they cannot communicate with the distros.I've been experiencing this issue since today. Maybe recent WSL2 update brought this issue.
Same issue was reported in microsoft/WSL#10752
Steps to reproduce
wsl -d Distrod
to start the distro.wsl -d Distrod
again.Expected behavior
Expected:
Linux shell starts.
Actual:
Windows version
Version 22H2 (OS Build 22621.2715)
Linux kernel version
Linux XXX 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 GNU/Linux
Distro
Arch Linux
How did you install that distro?
Installed by Distrod wizard
Logs
As far as I can tell, the failed attempt is not logged even with
trace
log level.additional comment
sudo /opt/distrod/bin/distrod disable
, the distro started to work again.wsl --install Ubuntu
)The text was updated successfully, but these errors were encountered: