NixOS on WSL | 332 Members | |
| https://github.com/nix-community/NixOS-WSL | 55 Servers |
| Sender | Message | Time |
|---|---|---|
| 18 Aug 2024 | ||
That is wsl --version | 20:15:18 | |
In reply to @whovian9369:matrix.orgIncluding the log printing agenix ingesting and decrypting the secrets, which is good | 20:15:30 | |
In reply to @k900:0upti.me
| 20:15:52 | |
Try wsl --update --pre-release | 20:16:02 | |
| They have a slightly less insane way to start user sessions in 2.3.something | 20:16:18 | |
| Normally I wouldn't like trying the "non-stable" versions, but will do. | 20:16:35 | |
| (still insane, just slightly less) | 20:16:37 | |
| Thank you for the time, by the way. 😅 | 20:17:49 | |
| Updated WSL to 2.3.17, so I'm starting my NixOS instance now | 20:25:43 | |
Failed to connect to bus: No such file or directory again when trying $ systemctl status user@1000 again, what the hell systemd? | 20:26:30 | |
Seems | 20:28:41 | |
You want sudo -i | 20:38:22 | |
Not sudo su | 20:38:25 | |
That was just meant to be an example command to show that sudo is broken.Either way, $ sudo whoami gives a similar error. | 20:39:09 | |
| That sounds very wrong | 20:40:07 | |
Tested $ sudo whoami in my original Ubuntu instance and it still appears to work fine too | 20:41:01 | |
| Here's the updated
| 20:41:30 | |
| (Interestingly, the WSLg and DXCore versions differ now too? Not sure if that's intentional, and/or I'm misreading.) | 20:42:42 | |
| Yes, that's normal | 20:42:47 | |
| Happen to have any ideas, or am I just stuck with this issue for the time being? | 20:46:26 | |
Can you check dmesg from the Ubuntu instance and see if there's any errors there? | 20:47:17 | |
Skimming to the end quickly, the output at the bottom exactly matches the one when run from nixpkgs | 20:48:28 | |
| * Skimming to the end quickly, the output at the bottom exactly matches the one when run from Nix | 20:48:32 | |
| And a couple quick "Page Up"s seems to show that they still match | 20:49:38 | |
| Yes, it is the same kernel | 20:50:10 | |
| But it should also have messages from NixOS activatoin | 20:50:18 | |
| * But it should also have messages from NixOS activation | 20:50:20 | |
Actually, can you just try to wsl --shutdown and restart the VM first? | 20:50:29 | |
| Just did that actually, and started both NixOS and Ubuntu | 20:50:42 | |
Skimming | 20:51:48 | |