!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

599 Members
NixOS ❤️ systemd167 Servers

Load older messages


SenderMessageTime
6 Mar 2025
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthere's a PR19:33:46
@raitobezarius:matrix.orgraitobezariusah cool19:33:47
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI just haven't reviewed it yet19:33:53
@elvishjerricco:matrix.org@elvishjerricco:matrix.org(it's high on my todo list but I have few spoons)19:34:09
@raitobezarius:matrix.orgraitobezarius(resting is awesome)19:34:17
@arianvp:matrix.orgArianI think vsock is built-in and not a module?19:34:51
@arianvp:matrix.orgArianSo it doesn't need loading19:34:56
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh19:34:59
@arianvp:matrix.orgArianNot 100% sure. Raito will know19:35:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwell I was about to say something that you've just invalidated :P19:35:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI was going to say that needing to load the module probably breaks initrd testing19:35:47
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwhich admittedly is kinda rare19:36:00
@elvishjerricco:matrix.org@elvishjerricco:matrix.organd fixable19:36:21
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgish19:36:28
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgassuming systemd can handle waiting for the module to load19:37:03
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut maybe it's not a module at all19:37:12
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Arian: seems like no: /run/booted-system/kernel-modules/lib/modules/6.12.13/kernel/net/vmw_vsock/vsock.ko.xz 19:38:35
@gdamjan:spodeli.orggdamjanfor the server, it's just a .socket that's generated by systemd-ssh-generator https://www.freedesktop.org/software/systemd/man/257/systemd-ssh-generator.html so the generator needs to run after the module is loaded IMHO19:41:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwait wut19:41:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgclearly I don't understand systemd-ssh-generator and its relationship to vsoc19:42:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.org* clearly I don't understand systemd-ssh-generator and its relationship to vsock19:42:08
@gdamjan:spodeli.orggdamjanand on my Arch VM - seems to be generated by default19:42:19
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgneeding to load a module means the generator won't do the right thing19:43:12
@gdamjan:spodeli.orggdamjan for the client side (ssh client, but actually VM host), you need the systemd-ssh-proxy executable and some ssh config magic (shipped with systemd) 19:43:14
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgi'm so confused19:43:53
@gdamjan:spodeli.orggdamjanah, and also the generator needs to find that sshd is "installed"19:44:29
@gdamjan:spodeli.orggdamjannot sure, but didn't the kernel automatically load socket modules ?19:44:44
@elvishjerricco:matrix.org@elvishjerricco:matrix.org ok so we have a .socket unit, which depends on a vsock, and we're hoping the kernel auto-loads the module? 19:45:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.org (really, the .socket unit should just depend on modprobe@whatever-the-vsock-module-is-called.service) 19:46:32
@gdamjan:spodeli.orggdamjanconsidering I haven't configured any vsock module to be loaded explicitly, and yet they are :)19:46:43

Show newer messages


Back to Room ListRoom Version: 6