Rename hosts to hostname, which also writes /etc/hostname (hq ADR 0223 part 3) #78

Merged
mesh-admin merged 1 commits from hostname-module into main 2026-10-05 22:15:29 +00:00
Contributor
  • modules/hosts → modules/hostname (Go module, cmd/hostname-tools, binary hostname-tools), claiming node-hostname; verbs entries/add/remove unchanged, now <node>/node-hostname.<verb>.
  • /etc/hosts block unchanged but for its comment.
  • New resource name: /etc/hostname = ${setting:hostname}\n, no default. Live machines today: g14 g14 (= mesh name), ace Ace, novox novox-be, shanks Shanks — the operator decides (per-node values, or mesh-wide {"hostname": "${machine:name}"}). Without the setting the module is left out on that machine, naming the key.
  • Takes effect at next boot; nothing set live (a running X session's authority is keyed by the old name). README says so.

Rollout: mesh-controller hostname-module rolled out → this merged and hostname registered → settings set hostname for every node → per node: unassign <node> hosts, assign <node> hostname, push <node> (one apply: hosts.own region taken out, hostname.own added at the start; operator lines byte for byte) → module forget hosts.

Checks: module check ok; module go vet/go test green.

- `modules/hosts` → `modules/hostname` (Go module, `cmd/hostname-tools`, binary `hostname-tools`), claiming `node-hostname`; verbs entries/add/remove unchanged, now `<node>/node-hostname.<verb>`. - `/etc/hosts` block unchanged but for its comment. - New resource `name`: `/etc/hostname` = `${setting:hostname}\n`, **no default**. Live machines today: g14 `g14` (= mesh name), ace `Ace`, novox `novox-be`, shanks `Shanks` — the operator decides (per-node values, or mesh-wide `{"hostname": "${machine:name}"}`). Without the setting the module is left out on that machine, naming the key. - Takes effect at next boot; nothing set live (a running X session's authority is keyed by the old name). README says so. **Rollout:** mesh-controller `hostname-module` rolled out → this merged and `hostname` registered → `settings set hostname` for every node → per node: `unassign <node> hosts`, `assign <node> hostname`, `push <node>` (one apply: `hosts.own` region taken out, `hostname.own` added at the start; operator lines byte for byte) → `module forget hosts`. Checks: `module check` ok; module `go vet`/`go test` green.
mesh-admin added 1 commit 2026-10-05 21:45:18 +00:00
Two files say one fact, the machine's name, and nothing owned /etc/hostname.
The name written is the operator's hostname setting, with no default: three
of four machines call themselves something other than their mesh name, and
renaming one is the operator's call. It takes effect at the next boot.
mesh-admin merged commit 5c2157b81c into main 2026-10-05 22:15:29 +00:00
mesh-admin deleted branch hostname-module 2026-10-05 22:15:29 +00:00
Author
Contributor

Delivery novox/mesh-catalog@5c2157b81cc2 — held since 2026-10-06T23:05:28Z

Held for a person: merged without a passing check: only a person decides that it goes on — mesh-delivery.release with why lets it go on.

Delivery plan — builds hostname, new: modules/hosts → ace, g14, novox, shanks; no bus step

  • tier 0: hostname
  • ace: receives hostname
  • g14: receives hostname
  • novox: receives hostname
  • shanks: receives hostname

Transitions

  • 2026-10-06 23:05 (new) → proposed (announced): novox/mesh-catalog#78 merged; its head was not heard by this owner, so it is made from the forge's word
  • 2026-10-06 23:05 proposed → held (merged-unchecked): merged without a passing check — a verdict known with it is taken first: only a person decides that it goes on

The commit's note under refs/notes/mesh-plan keeps every transition: git log --notes=mesh-plan.

<!-- mesh-delivery:view --> **Delivery** `novox/mesh-catalog@5c2157b81cc2` — **held** since 2026-10-06T23:05:28Z Held for a person: merged without a passing check: only a person decides that it goes on — `mesh-delivery.release` with why lets it go on. **Delivery plan** — builds hostname, new: modules/hosts → ace, g14, novox, shanks; no bus step - tier 0: hostname - ace: receives hostname - g14: receives hostname - novox: receives hostname - shanks: receives hostname **Transitions** - 2026-10-06 23:05 (new) → proposed (announced): novox/mesh-catalog#78 merged; its head was not heard by this owner, so it is made from the forge's word - 2026-10-06 23:05 proposed → held (merged-unchecked): merged without a passing check — a verdict known with it is taken first: only a person decides that it goes on The commit's note under `refs/notes/mesh-plan` keeps every transition: `git log --notes=mesh-plan`.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-catalog#78