| 6 Mar 2025 |
Arian | There's a virtio driver that exposes vsocks to the guest | 19:32:35 |
ElvishJerricco | oh so it can't start until the module is loaded | 19:33:16 |
raitobezarius | speaking of vsock things | 19:33:26 |
Arian | https://man7.org/linux/man-pages/man7/vsock.7.html | 19:33:28 |
raitobezarius | it would be nice to add the code for ssh generators in systemd | 19:33:34 |
raitobezarius | i have it in my personal nixpkgs | 19:33:39 |
raitobezarius | i use vsock ssh for all my vms | 19:33:42 |
Arian | There's a pr | 19:33:45 |
ElvishJerricco | there's a PR | 19:33:46 |
raitobezarius | ah cool | 19:33:47 |
ElvishJerricco | I just haven't reviewed it yet | 19:33:53 |
ElvishJerricco | (it's high on my todo list but I have few spoons) | 19:34:09 |
raitobezarius | (resting is awesome) | 19:34:17 |
Arian | I think vsock is built-in and not a module? | 19:34:51 |
Arian | So it doesn't need loading | 19:34:56 |
ElvishJerricco | oh | 19:34:59 |
Arian | Not 100% sure. Raito will know | 19:35:13 |
ElvishJerricco | well I was about to say something that you've just invalidated :P | 19:35:15 |
ElvishJerricco | I was going to say that needing to load the module probably breaks initrd testing | 19:35:47 |
ElvishJerricco | which admittedly is kinda rare | 19:36:00 |
ElvishJerricco | and fixable | 19:36:21 |
ElvishJerricco | ish | 19:36:28 |
ElvishJerricco | assuming systemd can handle waiting for the module to load | 19:37:03 |
ElvishJerricco | but maybe it's not a module at all | 19:37:12 |
ElvishJerricco | 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 | for 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 IMHO | 19:41:04 |
ElvishJerricco | wait wut | 19:41:42 |
ElvishJerricco | clearly I don't understand systemd-ssh-generator and its relationship to vsoc | 19:42:06 |
ElvishJerricco | * clearly I don't understand systemd-ssh-generator and its relationship to vsock | 19:42:08 |
gdamjan | and on my Arch VM - seems to be generated by default | 19:42:19 |