Open kissge opened 9 months ago
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 distrod
(as is no longer needed since Microsoft added native systemd support) as @kissge wrote and then enable systemd
it in wsl.conf
.
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... distrod 0.1.4 I can do wsl --shutdown....then first terminal will open ok...all others will failI guess the only solution is to disable
distrod
(as is no longer needed since Microsoft added native systemd support) as @kissge wrote and then enablesystemd
it inwsl.conf
.
This is actually a workaround solution worked for me.
sudo /opt/distrod/bin/distrod disable
to disable Distrod
add
[boot]
systemd=true
to /etc/wsl.conf
And restart with wsl.exe --shutdown
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:
wsl.exe --import AL2 c:\users\username\wsl\ C:\Users\username\Downloads\rootfs.tar.xz
Example image found here: https://images.linuxcontainers.org/images/amazonlinux/2/amd64/default/
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 https://github.com/microsoft/WSL/issues/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
)