-
Notifications
You must be signed in to change notification settings - Fork 859
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
Systemd not starting correctly on fresh install after reboot #9207
Comments
Thank you for reporting this @ToasterDEV. Can you share the output of |
Sure, when I run |
Hello, sorry for bumping the thread. Is there anything else I should add to continue the troubleshooting process? |
Thanks for the notification @ToasterDEV. We've made a couple fixes with WSL 1.0.3, do you still see the issue after running wsl.exe --update ? If so, can you capture /logs with the latest version so I can have a deeper look ? |
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! |
Sure @OneBlue ! Unfortunately, even after checking I have WSL version 1.0.3.0 and Thanks for the help! |
Thanks @ToasterDEV. Unfortunately, I'm not seeing any WSL logs in the file you shared. Can you try running: |
Sure, sorry about that. Just performed a |
Thank you @ToasterDEV. Looking at the logs, the last entry from systemd is:
So most likely something is getting stuck. Once wsl has started, can you share the output of: |
Sure! Just performed another
It goes on and on at least for 3006152 lines of the same, with that being the last one at the moment of the pipe. Show I upload the rest of the log regardless? It won't fit in a gist. |
I have the same problem, can it be fixed now? |
same here |
Anybody else using usbip? |
@OneBlue Sorry if pinging you directly ends up looking like a bit much (I'm taking the liberty to do so because you self-assigned this issue, but given my lack of experience, please feel free to tell me if I'm overstepping some boundaries), though I'd like to report that the issue is still present and reproducing the exact same behavior as of a few hours ago. If there's any information that might be required of me to continue troubleshooting, please let me know. Kudos! |
I also have the same problem. After running |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
I'm having the same issue. When I run:
I get:
I get
I found this discussion but the solution brings me back to:
|
Version
Microsoft Windows [Version 10.0.22621.382] | WSL version: 1.0.1.0 Kernel version: 5.15.74.2 WSLg version: 1.0.47 MSRDC version: 1.2.3575 Direct3D version: 1.606.4 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.382
WSL Version
Kernel Version
Linux version 5.15.74.2-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Nov 2 19:50:29 UTC 2022
Distro Version
Release: 22.04
Other Software
No response
Repro Steps
[boot] \n systemd=true
to/etc/wsl.conf
wsl.exe --shutdown
on a PowerShell 7 Administrator sessionsystemctl list-units --type=service
, then see successful listing of servicessystemctl is-system-running
Failed to query system state: Transport endpoint is not connected \n unknown
Expected Behavior
Running either
systemctl list-units --type=service
orFailed to query system state: Transport endpoint is not connected \n unknown
should output the systemd service list or a success state respectfullyActual Behavior
strace
strace
Diagnostic Logs
WslLogs-2022-11-24_15-29-43.zip
The text was updated successfully, but these errors were encountered: