!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

351 Members
https://github.com/nix-community/NixOS-WSL63 Servers

Load older messages


SenderMessageTime
30 Nov 2022
@k900:0upti.meK900Now that it's available on 1013:41:41
@sandro:supersandro.deSandro 🐧I am not sure what the preconditions are for that on Windows 10 and if you need the latest update14:14:55
@sandro:supersandro.deSandro 🐧but yeah then we could remove quite some other workarounds 14:15:05
@nzbr:nzbr.deArson Copperflame
In reply to @sandro:supersandro.de
K900: is the user dbus session still broken with native systemd?
Understandable, I bought that when WSLg wasn't a thing yet, so I just kept using it
14:48:55
@sandro:supersandro.deSandro 🐧I was custom building things and procrastinated it long enough to be fixed by MS15:11:21
@sandro:supersandro.deSandro 🐧but yeah if you already bought it why not continue using it but I am not going to pay twice 25 €15:11:41
1 Dec 2022
@sandro:supersandro.deSandro 🐧
In reply to @sandro:supersandro.de
Am I the only one that encounters the following:
After building many packages and the system being under load for 15 to 30 minutes I cannot load new wsl processes and they just hang?
I just got that again with no high load and I have no idea why and how.
13:13:32
@nzbr:nzbr.deArson CopperflameI had WSL crash on me yesterday when building some packages, but I suspect that was due to RAM being full and some critical process got OOM-Killed13:33:38
@sandro:supersandro.deSandro 🐧I suspect that some process in windows just deadlocks when the CPU usage is to high for to long and then you need to reboot to fix WSL13:40:48
@nzbr:nzbr.deArson CopperflameFor me, restarting WSL fixed it, no reboot required - so it's a different problem22:08:13
2 Dec 2022
@sandro:supersandro.deSandro 🐧 wsl.exe --shutdown hangs forever as well 00:52:33
@sandro:supersandro.deSandro 🐧or long enough that I restarted. Usually it is done within a minute.00:52:50
@k900:0upti.meK900https://github.com/microsoft/WSL/releases07:28:05
@k900:0upti.meK900They have a second person doing WSL releases!07:28:11
@k900:0upti.meK900(and also yet another attempt at not clobbering the X socket)07:28:18
6 Dec 2022
@hdhog:matrix.hdhog.ruhdhog 18:43:50
7 Dec 2022
@sandro:supersandro.deSandro 🐧Anyone has any advice for https://github.com/microsoft/WSL/issues/5806 ?16:08:16
@sandro:supersandro.deSandro 🐧 nzbr (they/it): what do you think about deleting the tmpfiles rule altogether in https://github.com/nix-community/NixOS-WSL/pull/172 ? 16:18:56
@nzbr:nzbr.deArson CopperflameIf it's an upstream issue that we're fixing, I'd say yes. Do other distros have the same issue?18:11:59
@sandro:supersandro.deSandro 🐧They probably didn't have the tmpfiles rule in the first place19:15:42
8 Dec 2022
@daniel573:matrix.orgDaniel Kahlenberg joined the room.08:37:49
@daniel573:matrix.orgDaniel KahlenbergI am experiencing a weird behaviour since I enabled native-systemd or native-docker or both at the same time - trying to figure out which combo it is: After a restart of the physical machine and trying to run wsl -d NixOS --user myuser again, the NixOS instance entirely refuses to start or even give me some output at all, only (useless workaround was the -e sh switch that basically gave me nothing to work with either.08:42:08
@daniel573:matrix.orgDaniel KahlenbergRight now I imported the nixos-wsl tgz afresh and set up everything again this time without native-systemd first to see if the issue will reproduce later maybe without docker-native as well.08:44:08
@daniel573:matrix.orgDaniel Kahlenberg(https://github.com/573/nix-config-1/blob/54e247d/nixos/base/nixoswsl.nix)08:45:18
@imnotdwight:matrix.orgimnotdwight joined the room.14:34:46
@sandro:supersandro.deSandro 🐧did you change the nixos-wsl module option for native-systemd?14:37:35
@daniel573:matrix.orgDaniel Kahlenberg

Sandro 🐧: I had basically

    wsl = {
      enable = true;
      defaultUser = "dkahlenberg";
      #interop = {
      #  register = true;
      #  preserveArgvZero = true;
      #};
      #nativeSystemd = true;
      docker-native = {
        enable = true;
      };
    };
    # https://github.com/nix-community/NixOS-WSL/discussions/71
    security.sudo.wheelNeedsPassword = true;
14:41:21
@daniel573:matrix.orgDaniel KahlenbergAlso I just see that I already deactivated nativeSystemd again, I remember having all commented options seen above on meaning active when it happened.14:44:26
@daniel573:matrix.orgDaniel KahlenbergMaybe it contributed that I had added the new defaultUser with a uid of 1000, which is also the default for the nixos user ?14:45:39
@daniel573:matrix.orgDaniel KahlenbergAs in https://github.com/NixOS/nixpkgs/issues/1217014:46:29

Show newer messages


Back to Room ListRoom Version: 9