From 6e2abcb0a56605615f509fbfc3c5df6cb28d3e1f Mon Sep 17 00:00:00 2001 From: maia Date: Sun, 22 Nov 2026 19:49:39 +0100 Subject: [PATCH] module-eval: the forge no longer shares the host netns Two service containers share it now, bao and the queue; fourteen have a netns of their own. --- nix/module-eval/swarm-services-switch.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/module-eval/swarm-services-switch.nix b/nix/module-eval/swarm-services-switch.nix index ed09864b8..c227d3366 100644 --- a/nix/module-eval/swarm-services-switch.nix +++ b/nix/module-eval/swarm-services-switch.nix @@ -843,14 +843,14 @@ let } { # Both values come from ../container-modules/swarm-container.nix. - # Three of the 16 service containers share the host netns (hive-forge, bao, - # the queue) and thirteen have one of their own. + # Two of the 16 service containers share the host netns (bao, the queue) + # and fourteen have one of their own. name = "a service container on the host netns runs no firewall or resolvconf of its own"; ok = let shared = lib.filter (c: !c.privateNetwork) (lib.attrValues serviceContainers); in - lib.length shared == 3 + lib.length shared == 2 && lib.all ( c: !c.config.networking.firewall.enable && !c.config.networking.resolvconf.enable ) shared;