-
Notifications
You must be signed in to change notification settings - Fork 822
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 (13) ERROR: CreateProcessCommon:559: execvpe(/bin/bash) failed: Permission denied #12212
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
Other issues does not seems to be applicable here. All of this was working till the last Month October update gor installed. I see below updates were installed. PC Update KB5043130 NT AUTHORITY\SYSTEM 10/8/2024 12:00:00 AM |
I installed a new distro OracleLinux_8_7 and it worked fine. So it seems that something specific to older distros wsl --list --verbose
Also I can login using root wsl -d OracleLinux_7_9 -u root but I can not do anything like becoming another user etc. |
It looks like the permissions on your distro might be messed up. Could you share the output of |
[root@david-pc local]# stat /bin/bash |
Interesting, everything looks normal here. let's see which default uid this distribution is running with. What's the output of |
# trying to launch without specifying the id lauches with default user and fails. #trying to start with root works Can not run below as strace is not installed strace -f /bin/bash -c echo ok also I can not install strace sudo yum install strace |
@ket000: What if you try to launch without a shell ? Something like: Also, can you share the contents of |
Windows Version
Microsoft Windows [Version 10.0.19045.5011]
WSL Version
2.3.24.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Oracle Linux 7.9
Other Software
When trying to launch any wsl distro it gives the below message
WSL (13) ERROR: CreateProcessCommon:559: execvpe(/bin/bash) failed: Permission denied
wsl -u root works fine.
It seems that it can not navigate to /mnt/c folder
<3>WSL (36) ERROR: CreateProcessCommon:551: chdir(/mnt/c/) failed 13
<3>WSL (36) ERROR: CreateProcessCommon:559: execvpe(/bin/bash) failed: Permission denied
Repro Steps
Launch the distro by running
wsl
Expected Behavior
Able to access any distro using normal user.
Actual Behavior
<3>WSL (36) ERROR: CreateProcessCommon:551: chdir(/mnt/c/) failed 13
<3>WSL (36) ERROR: CreateProcessCommon:559: execvpe(/bin/bash) failed: Permission denied[WslLogs-2024-10-28_05-11-41.zip]
Diagnostic Logs
WslLogs-2024-10-28_05-11-41.zip
The text was updated successfully, but these errors were encountered: