!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
19 Nov 2022
@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
@sandro:supersandro.deSandro 🐧https://github.com/nix-community/NixOS-WSL/pull/16711:53:58
25 Nov 2022
@ryan:gibbr.orgfind me at @ryan:freumh.org changed their display name from Ryan Gibb to find me at @ryan:freumh.org.13:33:31
@psvo:matrix.orgpsvoHi, https://github.com/nix-community/NixOS-WSL/pull/169 should solve the missing user systemd service support with native systemd enabled (works for me in W10, I cannot test it on W11 system though).16:32:25
@k900:0upti.meK900 Really. Fucking really. 16:36:52
@k900:0upti.meK900Should just symlink everything into /bin at this point ffs16:37:10
@k900:0upti.meK900Maybe the kitchen sink 16:37:15
@psvo:matrix.orgpsvoyeah, don't shoot the messenger ;)16:37:47
@k900:0upti.meK900Oh yeah let me test it real quick16:38:14
@k900:0upti.meK900Thanks, I hate it16:39:37

Show newer messages


Back to Room ListRoom Version: 9