-
Notifications
You must be signed in to change notification settings - Fork 293
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
[WSL] Cannot open code
via integrated terminal in VS Code when systemd is enabled
#9051
Comments
I just ran into this as well. I'm not sure what happened, but I noticed that my
VSCode clearly expects something to exist in this directory, and can't make it when root:root owns the directory and the permissions are
|
I'm having the same issue, though I think it only started recently and not three weeks ago. It makes certain workflows very difficult and annoying, like Git workflows that spawn VS Code as the editor, such as rebasing. The only fix is to fully shutdown WSL or to use vim as the Git editor.
|
@jpalpant This method works! As you said, after setting the permissions, it will be in the corresponding directory. Thank you! |
This method doesn't work for me, as the problem is that the EDIT: The |
Steps to Reproduce:
code
Expected behavior:
Instance of VS Code gets opened
Actual behavior:
After several minutes (mentioned in step 4) of using VSCode in remote mode, a new VSCode instance no longer opens via integrated terminal in bash and shows the following output:
Additional notes:
sudo systemctl mask systemd-binfmt.service
to fix the well known systemd issue #8843, however that seems to be unrelated to the issue I am reporting here.The text was updated successfully, but these errors were encountered: