!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

613 Members
NixOS ❤️ systemd173 Servers

Load older messages


SenderMessageTime
6 Mar 2025
@elvishjerricco:matrix.orgElvishJerriccoI didn't realize PID1 was conscientious about being hosted as a container or vm18:38:35
@qyliss:fairydust.spaceAlyssa RossIIRC it basically has to be19:12:21
@qyliss:fairydust.spaceAlyssa RossEven s6-linux-init is19:12:30
@arianvp:matrix.orgArianIt isn't really. It just checks if there is a socket passed in through a credential19:20:19
@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

Show newer messages


Back to Room ListRoom Version: 6