-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
systemctl initializing #356
Comments
This might be related to the Systemd announcement that they are dropping support for cgroups v1 "in a release after 2023" (ref). It's currently working in my Arch WSL environment but I explicitly disabled cgroups v1 support inside of WSL. You can try this yourself and see if it helps:
|
Same |
I have the same problem, and it does not work for me either 😰 |
Well, I found this and modified |
I'm running into this issue as well when setting up an ArchWSL instance on a brand new Windows 10 installation (despite my earlier comments about potential workaround/solutions). Trying to narrow this down a bit further, I started going back through ArchWSL relesases:
What's odd is that it works fine with the last 2022 release - and not only that, I can bring all the packages up-to-date with
|
Does |
No, it doesn't. |
I manually built a rootfs with docker, everything works well. |
None of these solutions work on my side. Only rolling back to version I'm using version
|
Does Systemd work normally in v24.3.31.0 released yesterday? |
@xuangeyouneihan |
Hope this will be fixed soon 😂 |
v24.3.31.0 still not work for my environment.
|
After testing a combination of |
I think I found the immediate cause and temporary solution, but the deeper root cause is still up for debate. The treatment is simple:
After that systemd will run normally, even if you restart wsl. Based on my testing and extrapolation, there are two known issues:
Also, according to the official systemd documentation, I recommend removing
The information I refer to is as follows: |
Spelling error should be 'firstboot' instead of 'fisrtboot' This is how I fix this issue:
sudo systemctl list-jobs | grep running
sudo systemctl cancel <job-number>
sudo systemctl disable systemd-networkd-wait-online As I tested, remove /etc/machine-id from rootfs.tar.gz would not fix this issue. |
@rayae Thank you for your script, it's very useful. |
This fixed my problem. I'm using |
I had an issue with a very long wsl boot and systemd not starting right away (with the infamous
I also had to do this to get Docker working again. Thanks! |
thx |
I'm using v24.4.28.0. modify The new restart WSL: check again: |
Proper workaround here: microsoft/WSL#11857 |
Describe the issue
After updating to latest ArchWSL systemctl is not working. systemctl status shows initializing
To Reproduce
Update to latest ArchWSL and make a clean installation.
Expected behavior
systemctl should start normally
Screenshots
Enviroment:
The text was updated successfully, but these errors were encountered: