WSL won't start after Windows Update 18950
-
Your Windows build number: Microsoft Windows [Version 10.0.18950.1000]
-
What you're doing and what's happening:
- I try to start WSL2 via
wsl ~ -d DistroName - I get
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - I shutdown WSL using
wsl --shutdown - I try to start the distro again using
wsl ~ -d DistroName - I still get
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - I shutdown WSL again
- I install a fresh copy via
wsl --import DistroName2 <install-location> <rootfs.tar.gz> --version 2 - I try to start WSL in the new install via
wsl -d DistroName2 - Again, I get
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
This happened after Windows Updated to 18950, (from 18945)
Also, the processes vmwp.exe and vmmem show up in the task manager and do not go away till wsl --shutdown is executed.
-
What's wrong / what should be happening instead: WSL console should appear.
-
For WSL launch issues, please collect detailed logs.
Same here. My default WSL2 instance and sole WSL1 instance both work fine, but the other WSL2 instances have this problem and I haven't found a cause yet. It doesn't seem to be related to networking config or the new .wslconfig file. I may try rolling back to 18945.
Alright, looks like we may have a bug in init... here's the messages from the kernel ring buffer (using my one working WSL2 instance to check messages created when trying to launch a non-working instance):
init: (1) ERROR: UtilMkdir:1035: chmod(/bin, 40755) failed 2
init: (1) ERROR: ConfigInitializeEntry:903: Failed to create /bin 2

Alright, I just figured this one out... init fails to create "/bin" because it already exists as a sym-link to "/usr/bin"!!!
So this issue only occurs with a rootfs that is /usr-merged... which includes Kali-linux in the Microsoft Store. Not really sure why init is trying to create a /bin directory anyways, but this is going to need to be fixed by someone at Microsoft since init is closed-source code.
This has been fixed and will be in an Insider build soon.
Glad to know I'm not the only one having this issue. I've reverted to Windows 18945 for the time being.
Hi, any idea when the Insider build will be released please ?
The time from us checking in the bug fix to the change being available inside of an Insiders build can vary, and is dependent on many different factors. In general, it's around 3 to 6 weeks.
Hi @mscraigloewen, thanks for the answer. Keep up the good :)
Glad to know I'm not the only one having this issue. I've reverted to Windows 18945 for the time being.
Could you tell me how you downgraded? Can't wait the 3-6 Weeks and would love to use WSL2 :)
Now that the problem has been identified, is it possible to share a workaround. This build is completely unusable with this. I've downgraded, but Windows update keeps trying to reupgrade me. I was hoping that it would get fixed in this week's patch, but since it sounds like that won't be happening, do you have any suggestions?
Same here on build 18956.
It is possible to convert it to wsl 1 to keep it running
"This has been fixed and will be in an Insider build soon."
As of 18956.1000 which I just installed, this is still not fixed...
I'm also getting this now on 18956.
Oh, for a functioning workaround.
Hi! Also running 18956. For it seems that problem is only with Kali distribution. My original kali didn't start. Exported and imported but same issue. Install a fresh Ubuntu and runs without problems. Intall a fresh kali and also didn't start.
Biswa yes it is installed, the only time I experience this issue is with the WSL2 Kali distribution.
I run a Arch distribution on 18956, also caught bugs This bug is not yet fixing
I would suggest rolling back to the previous build until an Insider Fast build with the fix is released.
@benhillis, For those who aren't in a hurry. When is the next build going to be available? Since this is a serious bug for many, could this be elaborated for faster release for next build, even if it's a bugfix for this WSL issue?
I'm also getting this on 18956 with Arch LInux. Only Ubuntu 18.04 is working correctly
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\illne> wsl -l -v
NAME STATE VERSION
* Ubuntu-18.04 Running 2