From cc9b3c1a8e15776864ac9cf372d464dd6f3c812e Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 14 Sep 2026 14:11:27 +0200 Subject: [PATCH] The installer names the unit this project packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It defaulted to mesh-host.service. What packaging/ ships is nox-mesh-host.service, so on any machine with the packaged unit installed the installer looked for something absent and told the operator a real machine needs it installed — when it was installed, under the name the installer was not using. Only the lab missed it, because the lab passes --host-in-background and never names a unit at all. --- cmd/mesh-bootstrap/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/mesh-bootstrap/main.go b/cmd/mesh-bootstrap/main.go index 2d41b74..fc305fb 100644 --- a/cmd/mesh-bootstrap/main.go +++ b/cmd/mesh-bootstrap/main.go @@ -42,7 +42,10 @@ const ( defaultOut = "/var/lib/mesh-host/substrate.lock" defaultRegistry = "127.0.0.1:5000" defaultHost = "/usr/local/bin/mesh-host" - defaultService = "mesh-host.service" + // The unit this project actually packages, in `packaging/`. It said `mesh-host.service`, which + // is not a unit anybody installs — so on a machine with the packaged unit the installer looked + // for something absent, and told the operator a real machine needs it installed when it was. + defaultService = "nox-mesh-host.service" ) const usage = `mesh-bootstrap — make a bare machine into a mesh