!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

340 Members
https://github.com/nix-community/NixOS-WSL57 Servers

Load older messages


SenderMessageTime
30 Nov 2022
@sandro:supersandro.deSandro 🐧 * K900: is the user dbus session still broken with native systemd? 12:39:29
@k900:0upti.meK900No 12:39:34
@sandro:supersandro.deSandro 🐧then it is for me broken 🤓12:40:47
@sandro:supersandro.deSandro 🐧broken as in the socket is missing in /run/user/100012:41:08
@sandro:supersandro.deSandro 🐧
Nov 30 13:36:00 francium unknown: Copying /usr/share/applications
Nov 30 13:36:00 francium unknown: Copying /usr/share/icons
Nov 30 13:36:00 francium kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
Nov 30 13:36:00 francium kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
Nov 30 13:36:00 francium kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
Nov 30 13:36:00 francium kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
Nov 30 13:36:00 francium unknown: Can't ignore signal CHLD, forcing to default.
Nov 30 13:36:00 francium sh: line 1: systemctl: command not found
Nov 30 13:36:00 francium sh: line 1: grep: command not found
Nov 30 13:36:00 francium unknown: setting up /etc...
Nov 30 13:36:00 francium sh: line 1: systemctl: command not found
Nov 30 13:36:00 francium sh: line 1: grep: command not found
Nov 30 13:36:00 francium unknown: setting up /bin...
Nov 30 13:36:00 francium unknown: setting up secrets...
Nov 30 13:36:00 francium sops-install-secrets: Imported /etc/ssh/ssh_host_rsa_key as GPG key with fingerprint 5f896e41a035cc21d70ed4b65df655b64ce35e21
Nov 30 13:36:00 francium sops-install-secrets: Imported /etc/ssh/ssh_host_ed25519_key as age key with fingerprint age12v03lzm0kac3rcjt6qmkpsnpxkqv3pgdxjrxggzsrt6r3j4k3ugqms4k0y
Nov 30 13:36:00 francium unknown: setting up /sbin/init shim...
Nov 30 13:36:00 francium nixos_wsl_native_systemd_shim[1]: Spawning real systemd...
Nov 30 13:36:00 francium unknown: Failed to connect to bus: No such file or directory
Nov 30 13:36:00 francium unknown: Failed to connect to bus: No such file or directory
12:42:27
@sandro:supersandro.deSandro 🐧

but then further down:

Nov 30 13:36:00 francium systemd[1]: Started Name Service Cache Daemon.
Nov 30 13:36:00 francium systemd[1]: Reached target Host and Network Name Lookups.
Nov 30 13:36:00 francium systemd[1]: Reached target User and Group Name Lookups.
Nov 30 13:36:00 francium systemd[1]: Starting User Login Management...
Nov 30 13:36:00 francium systemd[1]: Starting Permit User Sessions...
Nov 30 13:36:00 francium systemd[1]: Finished Permit User Sessions.
Nov 30 13:36:00 francium sshd[212]: Server listening on 0.0.0.0 port 22.
Nov 30 13:36:00 francium systemd-logind[224]: New seat seat0.
Nov 30 13:36:00 francium systemd[1]: Starting D-Bus System Message Bus...
Nov 30 13:36:00 francium dbus-daemon[226]: dbus[226]: Unknown username "systemd-oom" in message bus configuration file
Nov 30 13:36:00 francium systemd[1]: Started D-Bus System Message Bus.
Nov 30 13:36:00 francium systemd[1]: Started User Login Management.
Nov 30 13:36:00 francium dbus-daemon[226]: [system] Successfully activated service 'org.freedesktop.systemd1'
Nov 30 13:36:00 francium systemd[1]: Reached target Multi-User System.
Nov 30 13:36:00 francium systemd[1]: Startup finished in 877ms.
Nov 30 13:36:00 francium nscd[213]: 213 monitored file `/etc/resolv.conf` was created, adding watch
Nov 30 13:36:00 francium unknown: WSL (2): Creating login session for sandro
Nov 30 13:36:45 francium kernel: hv_balloon: Max. dynamic memory size: 6144 MB
12:43:32
@sandro:supersandro.deSandro 🐧maybe I should also update nixos-wsl.... I need to either automated this or get my two PRs merged.12:45:19
@sandro:supersandro.deSandro 🐧surprise now it works if you are actually using the fixes 🤦12:47:06
@sandro:supersandro.deSandro 🐧X11 symlinking still not working, sigh12:47:59
@sandro:supersandro.deSandro 🐧

The tmpfiles rul wsl injects is just being ignored

 ▶ sudo systemd-tmpfiles --create
/run/tmpfiles.d/wsl.conf:3: Duplicate line for path "/tmp/.X11-unix", ignoring.
12:57:16
@k900:0upti.meK900Yeah but it's identical to ours as far as I can see 13:03:17
@k900:0upti.meK900And older WSLs don't inject it 13:03:21
@sandro:supersandro.deSandro 🐧

nope, it is a symlink

# /run/tmpfiles.d/wsl.conf
# Note: This file is generated by WSL to prevent systemd-tmpfiles from removing /tmp/.X11-unix during boot.

L /tmp/.X11-unix - - - - /mnt/wslg/.X11-unix
13:07:28
@sandro:supersandro.deSandro 🐧yeah, got it working when removing our rule. Should I update it instead?13:09:26
@k900:0upti.meK900Maybe?13:12:18
@sandro:supersandro.deSandro 🐧https://github.com/nix-community/NixOS-WSL/pull/17213:28:06
@k900:0upti.meK900I really wanna say remove it and just say we depend on latest WSL from the store13:41:35
@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

Show newer messages


Back to Room ListRoom Version: 9