!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

606 Members
NixOS ❀️ systemd169 Servers

Load older messages


SenderMessageTime
5 Mar 2025
@sandro:supersandro.deSandro πŸ§πŸ€” hmmmm22:57:21
@sandro:supersandro.deSandro 🐧Do you have an idea if common things like Gunicorn or such application servers use that?22:57:34
@arianvp:matrix.orgArianNo idea. 23:09:07
@arianvp:matrix.orgArianWhy don't you just use SocketUser and SocketMode ?23:09:32
@arianvp:matrix.orgArianIf there isn't more than one user consuming the socket 23:09:49
@arianvp:matrix.orgArianBut e.g. postgres uses it https://www.postgresql.org/docs/current/auth-peer.html23:15:07
6 Mar 2025
@sandro:supersandro.deSandro 🐧I currently have SockerUser but I should probably set SocketMode as it has 666 right now00:39:30
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de) changed their display name from Grimmauld to Grimmauld (any/all).15:37:32
@arianvp:matrix.orgArianI wonder if we could use this for the Test Driver: https://github.com/systemd/systemd/blob/main/NEWS#L1179-L119618:35:26
@arianvp:matrix.orgArian currently all our wait_for_unit stuff is kind ad-hoc but it’s built into systemd now 18:35:38
@arianvp:matrix.orgArianit will send messages about unit state back to the VMM over VSOCK18:35:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwell that sounds like a big improvement18:37:07
@arianvp:matrix.orgArianhttps://www.freedesktop.org/software/systemd/man/latest/systemd.html#Readiness%20Protocol18:37:21
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI 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.org@elvishjerricco:matrix.orghow 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.org@elvishjerricco:matrix.orgI 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.org@elvishjerricco:matrix.orgoh 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

Show newer messages


Back to Room ListRoom Version: 6