ubuntu-wsl2-systemd-script icon indicating copy to clipboard operation
ubuntu-wsl2-systemd-script copied to clipboard

I am getting an error when using this script

Open luckyEason opened this issue 3 years ago • 3 comments

My error is as follows: nsenter: failed to parse pid: '27 608 1144 1811 2267 2648 2986 3319 3747' My wsl version: Ubuntu20.04

luckyEason avatar Aug 29 '22 12:08 luckyEason

But when I entered wsl --shutdown in powershell and reopened Ubuntu, it repeatedly displayed "Sleeping for 1 second to let systemd settle", and then returned to normal, successfully logged in, what's going on?

luckyEason avatar Aug 29 '22 12:08 luckyEason

@luckyEason I have the same problem. Did you somehow find a fix?

bhatsudo avatar Sep 29 '22 08:09 bhatsudo

@bhatsudo I reinstalled the WSL and found that switching to the root runtime script can be used normally

luckyEason avatar Jan 13 '23 11:01 luckyEason