Skip to content
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

(With Docker Desktop) "Failed to translate" errors in CreateProcessParseCommon and UtilTranslatePathList #9167

Closed
2 tasks
mrjcleaver opened this issue Nov 17, 2022 · 4 comments

Comments

@mrjcleaver
Copy link

Version

Microsoft Windows [Version 10.0.22000.1219]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.102.1

Distro Version

Release: 20.04

Other Software

No response

Repro Steps

Start ubuntu from PS

Expected Behavior

No error message

Actual Behavior

An error occurred mounting one of your file systems. Please run 'dmesg' for more details.

dmesg says
[ 9287.247218] init: (1622) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows

[ 9287.247276] init: (1622) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\Wbem

[ 9287.247333] init: (1622) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0\

[ 9287.247389] init: (1622) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\OpenSSH\

[ 9287.247446] init: (1622) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files\Amazon\AWSCLIV2\

[ 9287.247502] init: (1622) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files\Docker\Docker\resources\bin

[ 9287.247558] init: (1622) ERROR: UtilTranslatePathList:2688: Failed to translate C:\ProgramData\chocolatey\bin

[ 9287.247614] init: (1622) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files\Git\cmd

etc

Diagnostic Logs

WslLogs-2022-11-17_14-55-58.zip

@funder7
Copy link

funder7 commented Nov 22, 2022

image
Same issue here - solved with

wsl.exe --shutdown

@OneBlue
Copy link
Collaborator

OneBlue commented Nov 22, 2022

Thank you for reporting this @mrjcleaver. I'd be interested to see logs of the wsl instance starting. Can you please:

  • Run: wsl.exe --shutdown
  • Run the log collection script
  • Reproduce the problem
  • Share the logs on this issue

This should help us figure out why the drive didn't get mounted properly. Can you also share the output of cat /etc/fstab inside the distribution ?

@flipkickmedia
Copy link

flipkickmedia commented Nov 24, 2022

@OneBlue this issue was closed in #8723 dispite still not being resolved - can we either combine this or reopen #8723 ?

@ghost
Copy link

ghost commented Dec 1, 2022

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants