!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

282 Members
https://github.com/nix-community/NixOS-WSL55 Servers

Load older messages


SenderMessageTime
27 Apr 2024
@pxc:matrix.orgpxc removed their profile picture.00:48:06
28 Apr 2024
@maka_77x:matrix.orgmaka_77x joined the room.04:42:12
@aledomu:matrix.orgAlejandro Domínguez joined the room.13:33:05
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.22:47:38
@federicodschonborn:matrix.org@federicodschonborn:matrix.org left the room.23:14:13
29 Apr 2024
@ss:someonex.netSomeoneSerge (utc+3) changed their display name from SomeoneSerge (UTC+1) to SomeoneSerge (is taking time off and doesn't want to hear about it).11:43:11
@vinetos:matrix.orgVinetos joined the room.15:01:02
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:29:18
@c4lliope:matrix.orgc4lliope joined the room.18:19:32
@bjp0:matrix.orgBrian Parma joined the room.21:27:41
30 Apr 2024
@sandro:supersandro.deSandro 🐧

Someone has an idea why the below worked?

My dbus was broken and I always got Connection refused. Executing machinectl shell --uid sandro once fixed it even after running wsl --shutdown. Why and how?

11:39:09
@sandro:supersandro.deSandro 🐧

Interesting 🤔

That has nothing to do with my problem. The user session gets stopped....

Apr 30 13:43:25 francium systemd[1]: Stopping User Manager for UID 1000...
11:44:01
@sandro:supersandro.deSandro 🐧 K900: nzbr (they/it) do we spawn the systemd user session here https://github.com/nix-community/NixOS-WSL/blob/main/utils/src/shell_wrapper.rs#L22C41-L22C53 and then it get's killed after a short while? 11:57:02
@k900:0upti.meK900Oh no 11:57:45
@sandro:supersandro.deSandro 🐧nope, that cannot be otherwise opening a new WSL session should bring systemd user back...11:57:55
@k900:0upti.meK900I think there might be PAM fuckery 11:57:51
@sandro:supersandro.deSandro 🐧 * ~~nope, that cannot be otherwise opening a new WSL session should bring systemd user back...~~12:18:19
@sandro:supersandro.deSandro 🐧 * ~nope, that cannot be otherwise opening a new WSL session should bring systemd user back...~12:18:22
@sandro:supersandro.deSandro 🐧above was a wrong assumption of me. When restarting wsl completely on 0b90c1d982d443358b3f7b3a303405449a2bfe54 things work, after that commit things are broken....12:18:41
@nzbr:nzbr.denzbr (they/it)
In reply to @sandro:supersandro.de
K900: nzbr (they/it) do we spawn the systemd user session here https://github.com/nix-community/NixOS-WSL/blob/main/utils/src/shell_wrapper.rs#L22C41-L22C53 and then it get's killed after a short while?
The wrapper only sources /etc/set-environment for now, so it shouldn't affect any of that
12:20:57
@sandro:supersandro.deSandro 🐧
In reply to @k900:0upti.me
I think there might be PAM fuckery
or that 😅
12:32:06
@sandro:supersandro.deSandro 🐧All a bit magic to me and I am happy that I got this far already 😂12:32:20
@sandro:supersandro.deSandro 🐧dbus issues are always THE worst12:32:28
@sandro:supersandro.deSandro 🐧I tried disabling envfs and do some poor mans bisecting and I am pretty sure the issue the bad commits are 03b52c7ff0ae73d5044cd00212eb5b776819f5f0 and 4fb773cffed9bf1efdabcc01b25637eaeb4e8e9c, didn't test any inbetween12:33:07
@sandro:supersandro.deSandro 🐧
Apr 30 14:40:30 francium systemd[407]: Listening on D-Bus User Message Bus Socket.
Apr 30 14:40:30 francium systemd[407]: Reached target Sockets.
Apr 30 14:40:30 francium systemd[407]: Reached target Basic System.
Apr 30 14:40:30 francium systemd[1]: Started User Manager for UID 1000.
Apr 30 14:40:30 francium systemd[407]: Started Vaccum atuin sqlite database.
Apr 30 14:40:30 francium systemd[1]: Started Session 1 of User sandro.
Apr 30 14:40:30 francium systemd[407]: Starting Run user-specific NixOS activation...
Apr 30 14:40:30 francium systemd[407]: Starting SSH Agent...
Apr 30 14:40:30 francium login[402]: pam_unix(login:session): session closed for user sandro
Apr 30 14:40:30 francium systemd-logind[355]: Session 1 logged out. Waiting for processes to exit.
Apr 30 14:40:30 francium systemd[1]: session-1.scope: Deactivated successfully.
Apr 30 14:40:30 francium systemd-logind[355]: Removed session 1.
Apr 30 14:40:30 francium systemd[407]: Finished Run user-specific NixOS activation.
Apr 30 14:40:30 francium systemd[407]: Started SSH Agent.
Apr 30 14:40:30 francium systemd[407]: Reached target Main User Target.
Apr 30 14:40:30 francium systemd[407]: Startup finished in 184ms.
Apr 30 14:40:40 francium systemd[1]: Stopping User Manager for UID 1000...
12:42:08
@sandro:supersandro.deSandro 🐧yeah, I think pam is closing the session, see lin 912:42:18
@sandro:supersandro.deSandro 🐧 * yeah, I think pam is closing the session, see line 912:42:20
@xondtx:matrix.orgondt joined the room.22:20:03
1 May 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:06:28
@olafklingt:matrix.org@olafklingt:matrix.org left the room.15:31:09

Show newer messages


Back to Room ListRoom Version: 9