-
Notifications
You must be signed in to change notification settings - Fork 385
Ubuntu 22.04 LTS nsenter: cannot open /proc/xxx/ns/time: No such file or directory #76
Comments
Having the same problem after upgrading Ubuntu WSL from 20.04 to 22.04. |
@c01hl going into my WSL2 Ubuntu 22.04 with Skip all the other steps in #36 (comment), especially the re-installation step. Because it writes |
Ich tried the solution in #36 , but as shown in #36#issuecomment-1125293384 , this does only work for root |
@apos this is weird. I logged in using |
@CleanHit: sure, that systemd is running?
|
Here is my output of root 1 0.0 0.0 169544 11452 ? Ss 22:13 0:00 /lib/systemd/systemd --unit=basic.target
root 44 0.0 0.0 48016 15652 ? S<s 22:13 0:00 /lib/systemd/systemd-journald
root 72 0.0 0.0 22344 6224 ? Ss 22:13 0:00 /lib/systemd/systemd-udevd
systemd+ 95 0.0 0.0 16064 8076 ? Ss 22:13 0:00 /lib/systemd/systemd-networkd
message+ 223 0.0 0.0 8772 5004 ? Ss 22:13 0:00 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 304 0.0 0.0 12056 5704 pts/1 S+ 22:13 0:00 /usr/bin/sudo -H -u <my_non-root_user> /bin/bash -c set -a; [ -f "$HOME/.systemd-env" ] && source "$HOME/.systemd-env"; set +a; exec bash -c sh\ -c\ \'\"\$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh\"\ da15b6fd3ef856477bf6f4fb29ba1b7af717770d\ stable\ code-server\ .vscode-server\ --host=127.0.0.1\ --port=0\ --connection-token=1991737642-3456313712\ --use-host-proxy\ --without-browser-env-var\ --disable-websocket-compression\ --accept-server-license-terms\ --telemetry-level=all\'
root 305 0.0 0.0 12056 924 pts/2 Ss+ 22:13 0:00 /usr/bin/sudo -H -u <my_non-root_user> /bin/bash -c set -a; [ -f "$HOME/.systemd-env" ] && source "$HOME/.systemd-env"; set +a; exec bash -c sh\ -c\ \'\"\$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh\"\ da15b6fd3ef856477bf6f4fb29ba1b7af717770d\ stable\ code-server\ .vscode-server\ --host=127.0.0.1\ --port=0\ --connection-token=1991737642-3456313712\ --use-host-proxy\ --without-browser-env-var\ --disable-websocket-compression\ --accept-server-license-terms\ --telemetry-level=all\'
root 1422 0.0 0.0 15156 7184 ? Ss 22:26 0:00 /lib/systemd/systemd-logind
<my_non-root_user> 1424 0.0 0.0 16996 9768 ? Ss 22:26 0:00 /lib/systemd/systemd --user
<my_non-root_user> 1455 0.0 0.0 8292 4044 ? Ss 22:26 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
<my_non-root_user> 1769 0.0 0.0 7004 2028 pts/4 S+ 22:33 0:00 grep --color=auto systemd |
Ok, I give up for now and comment out the call of Thanks @CleanHit P.S.: more weird: all the programs are running now (with above "fix") from Startmenu like Evolution (Gnome!), Stellarium, Xterm (with normal non-root-user), PDF-Arranger, LyX , also my printer works. But no terminal vom PS or Windows Terminal with normal user ... tssss. |
I solved my problem decribed here: 36#issuecomment-1125293384 - login only with root
Here another hint: my start command for wsl within the settings like Summary: the fix provided an discribed works which is just edit Cheers Axel |
@apos thanks for the informative post. I didn't mention that I was using the winsows terminal app, as I didn't think that it makes any difference. I gues it did and that's why the steps above were working for me. |
Nice Bro! |
my path is |
Guys, Go to: /usr/sbin/ Change the script as directed in the comment above.
|
It's easy. Thanks for your solution. I get this problem when update Ubuntu 2004 to 2204 and can fix it. |
The text was updated successfully, but these errors were encountered: