| 2 Sep 2024 |
silver | just to doublecheck: doing a garbage collection shouldnt stop nixos from working on wsl? | 21:38:54 |
silver | getting error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket': Connection refused and teh alst thing I did to the system was a GC | 21:39:47 |
silver | and now its working, ive no idea why | 21:43:51 |
| 3 Sep 2024 |
K900 | Sure sounds like your nix-daemon died somehow | 05:31:00 |
K900 | I've never seen WSL kill it though | 05:31:05 |
| 4 Sep 2024 |
K900 | https://github.com/microsoft/WSL2-Linux-Kernel/releases/tag/linux-msft-wsl-6.6.36.6 | 19:34:14 |
K900 | Hmmm | 19:34:15 |
K900 | I wonder if they'll re-ship this | 19:34:20 |
K900 | https://github.com/microsoft/WSL2-Linux-Kernel/commit/ea0740024a0f0c7c6b8844492e3fa9eeb1289a83 | 19:35:18 |
K900 | The only relevant change | 19:35:21 |
| SomeoneSerge (back on matrix) changed their display name from SomeoneSerge (UTC+3) to SomeoneSerge (nix.camp). | 21:49:10 |
| 6 Sep 2024 |
| rosssmyth joined the room. | 14:11:16 |
rosssmyth | In reply to @silver:matrix.brendan.ie getting error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket': Connection refused and teh alst thing I did to the system was a GC Yeah this has been happening to me every time I boot into WSL. My fix has been running sudo nixos-rebuild switch --flake $MY_CONFIG once after starting WSL, then the daemon is started. | 14:14:47 |
K900 | Hmm, I wonder if this is something that got broken in the latest WSL update | 14:15:15 |
K900 | I have not updated since the version that unshipped 6.6 | 14:15:24 |
K900 | So I can have a normal OOM killer | 14:15:28 |
rosssmyth | Yeah, sadly I am not attentive enough to say when it started but I think in the past week or so? I'll try disabling gc to see if it makes any difference though that would be weird. | 14:17:01 |
rosssmyth | nope | 14:18:41 |
K900 | What does systemctl status nix-daemon say on first boot? | 14:19:23 |
rosssmyth | Failed to connect to bus: No such file or directory | 14:20:29 |
rosssmyth | After running nixos-rebuild it does output something | 14:21:09 |
K900 | Uhh | 14:21:37 |
K900 | That sounds like systemd might not be starting | 14:21:43 |
K900 | Oh wait | 14:21:44 |
K900 | OH WAIT. | 14:21:45 |
K900 | Oh. Wait. | 14:21:47 |
K900 | cat /proc/cmdline? | 14:21:58 |
rosssmyth | When, any time? | 14:22:19 |
K900 | Any time | 14:22:30 |
rosssmyth | initrd=\initrd.img WSL_ROOT_INIT=1 panic=-1 nr_cpus=19 hv_utils.timesync_implicit=1 console=hvc0 debug pty.legacy_count=0 | 14:22:41 |