-
Notifications
You must be signed in to change notification settings - Fork 823
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
WSL2 - Failed to (auto)start systemd units on boot | /sbin/init failed #11822
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging 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! Closed similar issues:
|
Diagnostic information
|
See #8879 |
Thank you @0Styless. Let's see if this is a timeout issue. Can you add:
To |
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-file it as a new issue. Thank you! |
Windows Version
Microsoft Windows [Version 10.0.22621.3737]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
Upgrade Ubuntu 22.04 to Ubuntu 24.04 with
do-release-upgrade
Expected Behavior
Everything works fine, systemd services would start as before.
Actual Behavior
Systemd services do not start correctly. In
dmesg
I can see[ 11.253131] WSL (2) ERROR: WaitForBootProcess:3342: /sbin/init failed to start within 10000
(see attached diagnostic logs).After WSL / distro is started, I tried the following:
As you can see, the status is inactive (dead), expected behavior is that the service is up & running.
I also can start the service "per hand":
Diagnostic Logs
dmesg
:The text was updated successfully, but these errors were encountered: