4 Sep 2024 |
| SomeoneSerge (utc+3) 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 |
K900 | OK yeah | 14:22:47 |
K900 | In reply to@k900:0upti.me Do you have
[wsl2]
kernelCommandLine = cgroup_no_v1=all
in your .wslconfig? ^ do this | 14:23:21 |
K900 | Otherwise your systemd is not starting | 14:23:29 |
rosssmyth | Okie dokie | 14:23:37 |
K900 | @silver same problem probably actually | 14:23:52 |
rosssmyth | That worked! | 14:24:40 |
rosssmyth | Thanks. | 14:24:42 |
| Krusl Lee joined the room. | 14:57:03 |
| common16 joined the room. | 14:57:05 |
| bumperboat joined the room. | 14:57:35 |