telinit u
stuck with systemd off, cause debian unable to upgrade system
#11035
Replies: 9 comments 19 replies
-
Didn't try on Sid, but on Ubuntu 22.04 the message is clear:
From the telinit manual:
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
This looks like a
|
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
I don't know what causes systemctl to hang when called as telinit, but as a temporary workaround, the following works for me: Replace
|
Beta Was this translation helpful? Give feedback.
-
@elsaco do i need to report this case to debian developers? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
This helped me. I fixed this with |
Beta Was this translation helpful? Give feedback.
-
All I did to fix this issue, was open kali as root in another terminal, ps aux, kill telinit the upgrade goes through like normal. For those facing this problem in Kali WSL |
Beta Was this translation helpful? Give feedback.
-
See also: #10397 (comment)
if you are using WSL1, try the method above to replace
systemd
withopensysusers
.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:Beta Was this translation helpful? Give feedback.
All reactions