-
Notifications
You must be signed in to change notification settings - Fork 846
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
catastrophic failure after enabling systemd in wsl.conf #8981
Comments
/logs |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
Same problem for me. |
so sorry for the delay, I live in Iran, and, well government cut off our internet as they pleased. |
Thank you @Sadra-jl. Unfortunately I'm not seeing any WSL log entries in the file you shared. Did you reproduce the issue while the log collection was running ? |
I've used Windows 11 with Microsoft Store WSL preview (0.70.4.0) and tried to enable cgroupv2 by doing
Problem shows when starting up. systemd was already enabled and working. |
Thank you @josesa-xx. Now I can see what's happening. During boot, WSL tries to mount
Which is why WSL fails to start |
Same problem here. Any idea to restore settings? |
If you have the same problem as me it should be simple to edit the file in %USERPROFILE%\.wslconfig and remove the line about kernelCommandLine |
1.0.1.0 fixed the issue in my case (my exact case was putting kernelCommandLine=cgroup_no_v1=all with systemd enabled, see #6662 (comment)) |
Indeed this was fixed with 1.0.1. Closing |
Version
Windows version: 10.0.25211.1010
WSL Version
Kernel Version
5.15.68.1
Distro Version
No response
Other Software
No response
Repro Steps
installed pengwin from the windows store. enabled [boot] systemd=true in /etc/wsl.conf, shutdown wsl, and rerun wsl, after a few moments, I got the: "catastrophic failure Error code: Wsl/Service/CreateInstance/0x8000ffff "
note: systemd is working fine in arch Linux inside wsl with the same steps above.
Expected Behavior
expected to see the distro start successfully and work with systemd.
Actual Behavior
gets the error "catastrophic failure"
with Error code:" Wsl/Service/CreateInstance/0x8000ffff "
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: