!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

643 Members
NixOS ❤️ systemd177 Servers

Load older messages


SenderMessageTime
6 Mar 2025
@elvishjerricco:matrix.orgElvishJerriccoapparently I don't understand socket units19:54:46
@raitobezarius:matrix.orgraitobezariussystemd-ssh-generator is relevant for the server usecase (the one you have in the VM) IIRC, what I dumped is required for the client usecase (the one you have on the hypervisor) if I'm not saying dumb shit19:54:48
@gdamjan:spodeli.orggdamjannote this is an Accept=yes socket unit, which means pid1 accepts the connection and starts the sshd with the connection file descriptors19:56:36
@elvishjerricco:matrix.orgElvishJerriccooh that makes a lot more sense19:57:25
@elvishjerricco:matrix.orgElvishJerriccoso, because the host makes the connection, the socket unit starts the service unit?19:58:01
@elvishjerricco:matrix.orgElvishJerriccodo I get that right?19:58:09
@gdamjan:spodeli.orggdamjan raitobezarius: note 258 will have one more vsock implementation vsock-mux/
https://github.com/systemd/systemd/pull/32941
19:58:12
@gdamjan:spodeli.orggdamjanor was that in 257? :D19:59:03
@elvishjerricco:matrix.orgElvishJerriccook a lot more stuff is making a lot more sense19:59:07
@elvishjerricco:matrix.orgElvishJerriccostill need to look at the ssh generator pr19:59:27
@gdamjan:spodeli.orggdamjanyes, one per connection20:00:00
@gdamjan:spodeli.orggdamjan(in classic inetd mode, so to speak)20:00:09
@elvishjerricco:matrix.orgElvishJerriccothanks20:00:21
@elvishjerricco:matrix.orgElvishJerriccoI have a lot to learn about vsock I think20:00:29
@gdamjan:spodeli.orggdamjanman 7 vsock :D20:00:42
@gdamjan:spodeli.orggdamjanugh, I remember it, the man page, was longer20:01:13
@elvishjerricco:matrix.orgElvishJerricco"No manual entry for vsock in section 7" I'm sure it's out there :P20:01:13
@gdamjan:spodeli.orggdamjan raitobezarius: I think you DO need the vscok module for the AF_VSOCK 20:02:04
@gdamjan:spodeli.orggdamjan * raitobezarius: I think you DO need the vsock module for the AF_VSOCK 20:02:17
@elvishjerricco:matrix.orgElvishJerriccothis is a tangent but I'm interested in what you mean20:03:00
@elvishjerricco:matrix.orgElvishJerriccoI quite like generators20:03:12
@gdamjan:spodeli.orggdamjan but python -c 'import socket;socket.socket(socket.AF_VSOCK, socket.SOCK_STREAM, 0)' did load the modules automatically 20:03:26
@elvishjerricco:matrix.orgElvishJerriccospecifically because they don't need nixos20:03:26
@gdamjan:spodeli.orggdamjanright, and they take the "live" environment into consideration20:04:08
@gdamjan:spodeli.orggdamjanso if I move the same nixos image from bare metal to a vm vsock will start working20:04:49
@elvishjerricco:matrix.orgElvishJerriccoyea it's "discoverable" in a way20:05:35
@elvishjerricco:matrix.orgElvishJerriccoI just had a nice conversation with Kent Overstreet about systemd generators20:07:27
@raitobezarius:matrix.orgraitobezarius
In reply to @gdamjan:spodeli.org
raitobezarius: note 258 will have one more vsock implementation vsock-mux/
https://github.com/systemd/systemd/pull/32941
oh gosh i needed that so hard
20:07:38
@raitobezarius:matrix.orgraitobezariusi just fixed it in my thing20:07:45
@elvishjerricco:matrix.orgElvishJerriccowhich is unusual. He's normally quite difficuult20:08:04

Show newer messages


Back to Room ListRoom Version: 6