!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

633 Members
NixOS ❤️ systemd173 Servers

Load older messages


SenderMessageTime
6 Mar 2025
@arianvp:matrix.orgArianThere's a virtio driver that exposes vsocks to the guest19:32:35
@elvishjerricco:matrix.orgElvishJerriccooh so it can't start until the module is loaded19:33:16
@raitobezarius:matrix.orgraitobezariusspeaking of vsock things19:33:26
@arianvp:matrix.orgArianhttps://man7.org/linux/man-pages/man7/vsock.7.html19:33:28
@raitobezarius:matrix.orgraitobezariusit would be nice to add the code for ssh generators in systemd19:33:34
@raitobezarius:matrix.orgraitobezariusi have it in my personal nixpkgs19:33:39
@raitobezarius:matrix.orgraitobezariusi use vsock ssh for all my vms19:33:42
@arianvp:matrix.orgArianThere's a pr19:33:45
@elvishjerricco:matrix.orgElvishJerriccothere's a PR19:33:46
@raitobezarius:matrix.orgraitobezariusah cool19:33:47
@elvishjerricco:matrix.orgElvishJerriccoI just haven't reviewed it yet19:33:53
@elvishjerricco:matrix.orgElvishJerricco(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.orgElvishJerriccooh19:34:59
@arianvp:matrix.orgArianNot 100% sure. Raito will know19:35:13
@elvishjerricco:matrix.orgElvishJerriccowell I was about to say something that you've just invalidated :P19:35:15
@elvishjerricco:matrix.orgElvishJerriccoI was going to say that needing to load the module probably breaks initrd testing19:35:47
@elvishjerricco:matrix.orgElvishJerriccowhich admittedly is kinda rare19:36:00
@elvishjerricco:matrix.orgElvishJerriccoand fixable19:36:21
@elvishjerricco:matrix.orgElvishJerriccoish19:36:28
@elvishjerricco:matrix.orgElvishJerriccoassuming systemd can handle waiting for the module to load19:37:03
@elvishjerricco:matrix.orgElvishJerriccobut maybe it's not a module at all19:37:12
@elvishjerricco:matrix.orgElvishJerricco 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.orgElvishJerriccowait wut19:41:42
@elvishjerricco:matrix.orgElvishJerriccoclearly I don't understand systemd-ssh-generator and its relationship to vsoc19:42:06
@elvishjerricco:matrix.orgElvishJerricco* 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

Show newer messages


Back to Room ListRoom Version: 6