| 17 Apr 2023 |
Nehu | OK so a few very long reboots later, I ended up at windows version 19043.2364 and I can use wsl --system Now, when I run wsl -d NixOS -e /bin/sh as suggested by nzbr (they/it) , I do get a bit more:
wsl -d nixos-testing -e /bin/sh
<3>WSL (8) ERROR: CreateProcessEntryCommon:577: execvpe C:/Users/me/scoop/apps/msys2/2021-04-19/usr/bin/sh failed 2
<3>WSL (8) ERROR: CreateProcessEntryCommon:586: Create process not expected to return
So it seems like it tries to execute something that isn't part of the WSL environment (in this case, the MSys2 version of /sur/bin/sh, which is a windows executable...
| 14:02:23 |
K900 | That is definitely not normal | 14:13:55 |
K900 | And your Windows is still on an old build | 14:14:01 |
K900 | Just a slightly less old one | 14:14:08 |
| 18 Apr 2023 |
Sandro ๐ง | WSL does not startup for me correctly when on https://github.com/nix-community/NixOS-WSL/commit/f3b6f6b04728416c64fc5ef52199fd9b9843c47d
[Tue Apr 18 17:15:45 2023] systemd_shim[1]: /dev/shm is not a symlink, leaving as-is...
[Tue Apr 18 17:15:45 2023] systemd_shim[1]: Remounting / shared...
[Tue Apr 18 17:15:45 2023] systemd_shim[1]: Remounting /nix/store read-only...
[Tue Apr 18 17:15:45 2023] systemd_shim[1]: Running activation script...
[Tue Apr 18 17:15:45 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:45 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:45 2023] setting up /usr/share/applications...
[Tue Apr 18 17:15:45 2023] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[Tue Apr 18 17:15:45 2023] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[Tue Apr 18 17:15:45 2023] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[Tue Apr 18 17:15:45 2023] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
[Tue Apr 18 17:15:45 2023] setting up /usr/share/icons...
[Tue Apr 18 17:15:45 2023] Deleting all channels...
[Tue Apr 18 17:15:45 2023] Deleting all user profiles...
[Tue Apr 18 17:15:45 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:45 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:45 2023] Can't ignore signal CHLD, forcing to default.
[Tue Apr 18 17:15:45 2023] setting up /etc...
[Tue Apr 18 17:15:46 2023] setting up secrets...
[Tue Apr 18 17:15:46 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:46 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:46 2023] setting up /sbin/init shim...
[Tue Apr 18 17:15:46 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:46 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:46 2023] systemd_shim[1]: Spawning real systemd...
[Tue Apr 18 17:15:46 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:46 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:46 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:46 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:46 2023] systemd-journald[205]: Collecting audit messages is disabled.
[Tue Apr 18 17:15:46 2023] systemd-journald[205]: Received client request to flush runtime journal.
[Tue Apr 18 17:15:47 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:47 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:47 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:47 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:47 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:47 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:47 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:47 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:48 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:48 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:48 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:48 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:48 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:48 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:48 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:48 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:49 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:49 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:49 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:49 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:49 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:49 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:49 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:49 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:50 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:50 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:50 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:50 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:50 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:50 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:50 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:50 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:51 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:51 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:51 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:51 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:51 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:51 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:51 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:51 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:52 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:52 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:52 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:52 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:52 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:52 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:52 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:52 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:53 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:53 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:53 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:53 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:53 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:53 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:53 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:53 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:54 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:54 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:54 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:54 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:54 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:54 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:54 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:54 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:55 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:55 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:55 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:55 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:55 2023] sh: line 1: systemctl: command not found
[Tue Apr 18 17:15:55 2023] sh: line 1: grep: command not found
[Tue Apr 18 17:15:55 2023] WSL (2) ERROR: WaitForBootProcess:3184: /sbin/init failed to start within 10000
[Tue Apr 18 17:15:55 2023] ms
[Tue Apr 18 17:15:55 2023] WSL (2) WARNING: /etc/resolv.conf updating disabled in /etc/wsl.conf
[Tue Apr 18 17:15:55 2023] WSL (2): Creating login session for sandro
[Tue Apr 18 17:16:32 2023] hv_balloon: Max. dynamic memory size: 6144 MB
| 15:20:00 |
Sandro ๐ง | wsl --version
WSL version: 1.2.0.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1413
| 15:24:39 |
K900 | I have a suspicion | 15:28:41 |
K900 | We don't root /bin/sh, do we | 15:28:57 |
Sandro ๐ง | I am not sure tbh | 15:32:07 |
Sandro ๐ง | โถ ls -lah /bin/sh
lrwxrwxrwx root root 75 B Tue Apr 18 17:27:55 2023 ๏ /bin/sh โ /nix/store/pk3kkaafln68gzxawk57qp9m5h5285va-bash-interactive-5.2-p15/bin/sh
| 15:33:07 |
Sandro ๐ง | also I am not sure why I am on 1.2.0.0, I didn't manually update to that and I didn't find a way to downgrade | 15:34:13 |
Sandro ๐ง | I tried going back a couple off commits and removing any of your recent commits did not change anything | 15:35:52 |
K900 | Wait | 15:38:09 |
K900 | Why is your shell symlinked to bash | 15:38:18 |
K900 | And not to the wrapper | 15:38:23 |
Sandro ๐ง | first thought native systemd but when I turn if off, that is still linked to bash | 15:41:38 |
Sandro ๐ง | but things work again | 15:41:42 |
| * Sandro ๐ง facepalms the desk | 15:43:06 |
Sandro ๐ง | populateBin = lib.mkForce false | 15:43:16 |
Sandro ๐ง | I turned that off for testing envfs which is still rather buggy in combination with shell wrappers but forgot to turn that back on or make it dependend on envfs | 15:44:31 |
Sandro ๐ง | and now the obligatory: how did that work the last weeks or even month? | 15:45:38 |
K900 | You didn't GC maybe? | 16:38:47 |
| 20 Apr 2023 |
| Federico Schonborn changed their display name from Federico Damiรกn Schonborn to Federico Schonborn. | 01:02:18 |
| shawn8901 joined the room. | 17:20:46 |
| 21 Apr 2023 |
| isa joined the room. | 17:14:58 |
| 23 Apr 2023 |
| olaf left the room. | 12:48:19 |
| 24 Apr 2023 |
| emilytrau changed their display name from emilytrau (she/her) to emilytrau. | 08:37:36 |
Sandro ๐ง | In reply to @k900:0upti.me You didn't GC maybe? that is on a systemd timer | 11:26:53 |
| 25 Apr 2023 |
| alethkit joined the room. | 18:20:57 |
alethkit | Is the latest installer meant to be the one from August of 2022? | 18:24:17 |