!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

626 Members
NixOS ❤️ systemd170 Servers

Load older messages


SenderMessageTime
6 Mar 2025
@elvishjerricco:matrix.orgElvishJerriccohow do you pass a socket in through a credential?19:23:01
@arianvp:matrix.orgArianhttps://www.freedesktop.org/software/systemd/man/latest/systemd.html#vmm.notify_socket19:23:49
@arianvp:matrix.orgArianIt's the socket address. Not socket. Sorry19:24:54
@arianvp:matrix.orgArianSo for VMs it's the vsock address. For containers it's a Unix domain socket path 19:25:07
@elvishjerricco:matrix.orgElvishJerriccoI guess I don't understand vsock things :P19:29:15
@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

Show newer messages


Back to Room ListRoom Version: 6