-
Notifications
You must be signed in to change notification settings - Fork 796
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
telinit u
stuck with systemd off, cause debian unable to upgrade system
#10955
Comments
Didn't try on Sid, but on Ubuntu 22.04 the message is clear:
From the telinit manual:
|
I have the same problem. I already upgraded wsl2 to 2.0.14 and am now using 5.15.133.1-microsoft-standard-WSL2. I cannot upgrade libc6. The upgrade is stuck at: root 515 510 99 07:35 pts/7 00:00:46 telinit u I'm on windows 10 Enterprise, 21H2, 19044.3324, Windows Feature Experience Pack 1000.19041.1000.0. My debian is trixie/sid. Starting emac with -nw works but I get a segmentation fault when I start it in X. |
This looks like a
|
My emacs now works. An export LIBGL_ALWAYS_SOFTWARE=true SOLVES the problem, but I opted for laenenj@L241362:/mnt/c/git/github-actions$ cat /mnt/c/Users/laenenj/.wslconfig |
I don't know what causes systemctl to hang when called as telinit, but as a temporary workaround, the following works for me: Replace
|
@elsaco do i need to report this case to debian developers? |
I was having the same issue, it seems that telinit wont work if you are not using systemd as your init system. I tried this https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/ Basically setting this in /etc/wsl.conf And it fixed the issue. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Windows Version
Microsoft Windows [Version 10.0.22621.2428]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.133.1-microsoft-standard-WSL2 (root@1c602f52c2e4) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Thu Oct 5 21:02:42 UTC 2023
Distro Version
Debian sid
Other Software
No response
Repro Steps
Run
telinit u
.Expected Behavior
might have similar behavior like restart services, at least the process would exit.
Actual Behavior
stuck, the process never exits
Diagnostic Logs
running
telinit u
with strace, some excerpt:The text was updated successfully, but these errors were encountered: