Watch
0
0
Fork
You've already forked hyperhive
0

swarm snapshot store: the receiver socket binds the mesh address even when wg-hive comes up after sockets.target

The socket is wanted by sockets.target and nothing orders the wireguard
unit before it, so the mesh address can be missing at bind time
(EADDRNOTAVAIL) and the receiver never listens. FreeBind lets the bind
succeed regardless, and also covers the interface coming back after a flap.

Also assert the mesh address is not a wildcard, which the comment above the
socket already claimed, and cover the rendered socket in a module-eval case.
This commit is contained in:
atlas 2026-10-15 03:15:43 +02:00 • committed by mara
commit 4285faf07c
4 changed files with 120 additions and 4 deletions

View file

@ -150,6 +150,10 @@ in
inherit pkgs self nixosSystem;
inherit (pkgs) lib;
};
module-eval-snapshot-store = import ./module-eval/snapshot-store.nix {
inherit pkgs self nixosSystem;
inherit (pkgs) lib;
};
module-eval-agent-queue-bao = import ./module-eval/agent-queue-bao.nix {
inherit pkgs self nixosSystem;
inherit (pkgs) lib;