CreateProcessEntryCommon:586: Create process not expected to return

CreateProcessEntryCommon:586: Create process not expected to return

Problem

1
2
3
4
5
6
7
$ wsl
Processing fstab with mount -a failed.

<3>WSL (8) ERROR: CreateProcessEntryCommon:370: getpwuid(0) failed 2
<3>WSL (8) ERROR: CreateProcessEntryCommon:374: getpwuid(0) failed 2
<3>WSL (8) ERROR: CreateProcessEntryCommon:577: execvpe /bin/sh failed 2
<3>WSL (8) ERROR: CreateProcessEntryCommon:586: Create process not expected to return

Solution

1
2
3
4
5
6
7
8
$ wsl -l
Windows 子系統 Linux 版發佈:
docker-desktop-data (預設)
docker-desktop
Ubuntu-20.04

$ wsl -s Ubuntu-20.04
操作順利完成。

Reference