!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
18 Nov 2022
@k900:0upti.meK900Does this mean we can rip out syschdemd00:18:28
@nzbr:nzbr.deArson Copperflame I'd not say rip out, but deprecate and most importantly: stop building workarounds for it 00:25:51
@k900:0upti.meK900Nice09:05:42
@k900:0upti.meK900The latest WSL update also writes a /run/tmpfiles.d file for the X11 socekt09:06:01
@k900:0upti.meK900 * The latest WSL update also writes a /run/tmpfiles.d file for the X11 socket09:06:02
@k900:0upti.meK900So we don't need to carry a separate one09:06:09
@k900:0upti.meK900I still have no idea what's going on with the runtime dir though09:12:51
@k900:0upti.meK900I have a sneaking suspicion it's just racy09:13:00
19 Nov 2022
@sandro:supersandro.deSandro 🐧
In reply to @k900:0upti.me
The latest WSL update also writes a /run/tmpfiles.d file for the X11 socket
not for me
03:04:15
@sandro:supersandro.deSandro 🐧but also currently /mnt/wslg is empty03:04:35
@sandro:supersandro.deSandro 🐧🤦 had it off in .wslconfig03:05:44
@sandro:supersandro.deSandro 🐧Can we somehow manage that, too? Theoretically we just need to copy something to /mnt/c/Users/$WIN_USERNAME/.wslconfig03:06:14
@sandro:supersandro.deSandro 🐧still better than my Makefile I forget to run everytime 03:06:30
@dx1nt:matrix.orgdx1nt changed their profile picture.12:49:58
@dx1nt:matrix.orgdx1nt changed their profile picture.12:50:55
21 Nov 2022
@sandro:supersandro.deSandro 🐧Can someone help me with https://github.com/nix-community/NixOS-WSL/issues/163 ? Generally ssh-agent seems to be a bit broken right now.10:19:22
@sandro:supersandro.deSandro 🐧 I think since we switched to runuser pseudo terminals under /dev/pts/ which are used by gpg-agent have the wrong ownership. 13:43:56
@sandro:supersandro.deSandro 🐧 They should owner by $USER:tty but they are owner by root:tty. gpg fails with the generic error gpg: signing failed: Permission denied but with strace you can figure out why it fails. 13:45:44
@sandro:supersandro.deSandro 🐧https://github.com/nix-community/NixOS-WSL/pull/16613:54:49
@sandro:supersandro.deSandro 🐧Why are we nesting runuser inside of systemd-run even? I have the feeling we are duplicating some things there.14:38:02
@k900:0upti.meK900We should really figure out what's going wrong with the native systemd stuff14:45:20
@k900:0upti.meK900 It's almost usable 14:45:30
@k900:0upti.meK900Just need to fix the user socket race and the locale thing14:45:48
@nzbr:nzbr.deArson Copperflame I want to get #161 merged, so we can check that new PRs don't break anything that was working before 14:50:09
@nzbr:nzbr.deArson CopperflameI just don't really know how to simulate native systemd yet (I mean I can just start systemd as PID 1 in the container, but then I need to get the whole logind thing to work somehow)14:51:48
23 Nov 2022
@sandro:supersandro.deSandro 🐧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?16:20:46
24 Nov 2022
@esac:matrix.orgp10r
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?
You're still on W10, right? I haven't encountered this on Windows 11 yet
09:11:32
@sandro:supersandro.deSandro 🐧I have two machines. One on Win10 and one on Win11. I think I actually encountered this on both.10:35:50
@sandro:supersandro.deSandro 🐧 * I have two machines. One on Win10 and one on Win11. I think I actually encountered this on both, but recently only on the Win11.10:35:58
@sandro:supersandro.deSandro 🐧

sudo ssh with JumpHost is broken.
/nix/store/x411w196j7fvznixm9517mya5g3rhnvs-syschdemd/bin/.syschdemd-wrapped: line 114: exec: exec: not found

sudo NIXOS_WSL_DEBUG=1 ssh host
+ rundir=/run/nixos-wsl
+ pidfile=/run/nixos-wsl/unshare.pid
+ main -c 'exec ssh -l tunnel -W '\''[host]:22'\'' jumpHost'
+ ensure_root
+ '[' 0 -ne 0 ']'
+ '[' '!' -e /run/current-system ']'
+ '[' '!' -e /run/nixos-wsl ']'
+ is_in_container
+ '[' true == true ']'
+ '[' 2 -gt 0 ']'
+ shift
+ command='exec ssh -l tunnel -W '\''[host]:22'\'' jumpHost'
+ is_in_container
+ '[' true == true ']'
+ exec exec ssh -l tunnel -W ''\''[host]:22'\''' jumpHost
/nix/store/x411w196j7fvznixm9517mya5g3rhnvs-syschdemd/bin/.syschdemd-wrapped: line 114: exec: exec: not found
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
11:22:29

Show newer messages


Back to Room ListRoom Version: 9