-
Notifications
You must be signed in to change notification settings - Fork 836
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
No systemd support on Windows DevKit 2023 #9094
Comments
You have to install WSL Preview from Windows Store. |
@Biswa96 Hmmm. Maybe, maybe not. Under Windows 11 22H2 (22621) Side-note: WSL1 isn't even installed with a base So @Gerdya, can you confirm your WSL release using |
I have the following versions installed: wsl --status Note: I do have precisely the same WSL version ( 0.70.5.0) on my Surface Pro X, where systemd works. |
and sample
Output of
In your case |
/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! |
I did created logs:
|
Thank you @Gerdya. Looking at the logs, it looks like /sbin/init just failed to start on your ubuntu distribution. Can share the output of |
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! |
Version
10.0.22623.875
WSL Version
Kernel Version
5.15.68.1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
I did a fresh install on my newly delivered Windows DevKit 2023 as follows:
Powershell:
wsl --install (which installed WSL2 and Ubuntu 20.04)
inside Ubuntu:
sudo do-release-upgrade -d (which did upgrade to 22.04)
inside Ubuntu:
create /etc/wsl.conf with:
[boot]
systemd=true
wsl --shutdown
Expected Behavior
xxxx@DevKit:/etc$ systemctl
Failed to connect to bus: No such file or directory
Actual Behavior
systemctl works
Diagnostic Logs
Please let me know if you need more information.
The text was updated successfully, but these errors were encountered: