consent — join's systemctl enable --now sshd fails: Ubuntu droplet's SSH unit is ssh #916
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#916
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The failure
The drive is red at the last leg it recorded.
artifacts/verdict.json:Every human-facing beat of
consentworked — the contribution menu rendered,1was chosen,WIPEwas typed, consent was recorded, the machine was probed, the connection request went out, and the operator side approved it. The join then died bringing the clan connection up.artifacts/consent-transcript.txt(byte-identical tolegs.json'serrorfield and to the Playwrighterror-context.md):sshd.serviceis the RHEL/NixOS unit name. The rehearsal droplet is Debian-family, where the unit isssh.service.This is not the drive's known frontier
The KNOWN frontier given for this drive is "pairing never flips — the own-VPS carrier issue named in
legs.json's skip reasons". Two facts in this run directory rule that out:legs.jsoncarries no skip reasons at all. All six records are{leg, status, ms}(pluserroron the red one);verdict.jsonagrees —"skip": 0. There is no skipped leg naming an own-VPS carrier issue.state/enroll.jsonreaches"status": "approved"with a node grant ("node": "node-req-0001"and anode_certwhose"subject": "node-req-0001"), andlogs/founding-state.log:119records the operator-side event:"gateway paired and approved as node node-req-0001 — probed 2 vCPU · 4 GB · 76 GB meets the minimum".So this is a distinct, device-side red after approval — not the known pairing frontier.
Evidence that the unit name is the whole of it
The droplet is Ubuntu 24.04 —
logs/droplet-do-forensics.txt:The SSH unit it actually has is
ssh—logs/droplet-journal.txt:899,1011,1014:And what the step was trying to achieve was already true.
logs/droplet-units.txt(ss -tlnp, harvested at 18:57, a minute after the red):That same sshd was carrying the very session that failed —
logs/droplet-journal.txt:1157:Accepted publickey for root from 134.199.154.244 port 47598, seconds before the error.systemctl --failedinlogs/droplet-units.txtis empty.logs/droplet-do-forensics.txtrecordstcp/22: a FRESH connect succeeded — the box answers, whatever ssh did, ping 0% loss, and the only DO action on the droplet is thecreate— no power_cycle, resize or migration. The agent was healthy right up to the call —logs/droplet-journal.txt:1149,1153:Started idss-agent.service - IDSS agent (ADR 0053)andmsg="join socket listening" component=agent path=/run/idss/agent.sock.Nothing on the box broke. The agent asked systemd for a unit name this distribution never had.
Suspected layer
Product — the agent's trust / clan-connection step. Not harness (it pasted the rendered install command and drove the real prompts; five legs green, screenshots present for all six). Not infra (the box was healthy before, during and after).
The fix appears to have already landed. This run was taken at
e8a0ac6a; the repo's currentmainHEAD is838d8c44, whose subject names this exact drive and this exact error: "agent/trust: the clan connection's SSH unit issshon Debian/Ubuntu — Up falls back from sshd, State reads the unit that answered (#788 drive 185504Z red at consent: 'Unit file sshd.service does not exist')".logs/healer-claude.out, written beside this drive, independently namesagent/internal/trust/trust.go:28as the hard-codedsshd, claims a commit97a46388that resolves the unit against the host (sshdfirst, thenssh) viasystemctl cat <unit>.service, and reportsgo test ./agent/internal/trust/5/5 green. I could not verify either claim: this session is sandboxed to the run directory and was refused read access to the repo source. Treat the file:line, the commit hash and the test result as the healer's claim, corroborated only by the HEAD commit subject quoted above.What plugging it needs
mainthat838d8c44is the unit-resolution fix its subject describes, and that it resolves the unit rather than swapping one hard-coded name for another. Ubuntu 24.04 shipsAlias=sshd.serviceinsidessh.service, but the alias is inert while the unit is socket-activated — which is exactly whyenable --now sshdfailed on a box whose sshd was already serving traffic.enableexiting 0.consentremains unexercised on this carrier.Absent / not consulted
170.64.164.98and diagnosed from the harvested logs alone. The forensics show the box still answering at 18:57:21Z; a livesystemctl cat ssh.servicewould be the last mile of corroboration, butlogs/droplet-journal.txtalready showsssh.servicestarting, which is the same fact.artifacts/journey.jsonis{"rows": null, "fault": null}— the drive never reached the founding rows, as expected for a death atconsent.logs/broker-journal.txtharvested nothing, by design:ssh: connect to host 100.98.48.68 port 22: Connection timed out— off the admin mesh (ADR 0208, #681); the verdict does not depend on it.logs/guest-*.logare empty,logs/state-logs.logreports nostate/logsdirectory, andlogs/qemu.logshows no qemu process (artifacts/host.json:"qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT"). This is the droplet carrier, not the VM path — not a finding.Secondary observation (own ticket; do not fold into this fix)
The same transcript shows the community unnamed on every line that should name it, including the WIPE screen:
Meanwhile
logs/founding-state.logcarries"name": "E2E Drive"in the committed draft, andstate/contains noclan-configdirectory for a late-bound header source to read. Someone consented to having their disk erased without being told whose community they were joining. It did not red the leg, so it will keep shipping silently.logs/healer-claude.outfiled this as a residual withconfident: false— it needs a human ruling on where the pre-deploy name comes from, and is not part of the sshd defect.drive
20260827T185504Zred atconsent:the terminal join exited 1 --- transcript --- Warning: Permanently added '170.64.164.98' (ED25519) to the list of known hosts. idss-agent unknown · joining How should this machine contribute? [1] Fulevidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260827T185504Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedRuled by agent under ADR 0174 (the watch's hands) — veto anytime: closing. This is the THIRD filing of one already-fixed defect, and it is deadlocking the drive.
Same defect as #912 and #913 (both closed):
systemctl enable --now sshdon an Ubuntu droplet whose unit isssh. Fixed by838d8c44—var sshUnits = []string{"sshd", "ssh"},Uptries them in order and remembers which answered,Statereads that same unit back.I closed #912 on the reasoning "fixed at HEAD" and that was wrong, because the joining device fetches its agent from
get.idss.nzand the served release predated the fix. So here is the check that actually settles it, done properly:x-idss-release)dcab019cad44b15721c78f7cb9c4cfd7569de28bgit merge-base --is-ancestor 838d8c44 dcab019c20260827T185504Zstarted2026-08-27T18:56:28Zdcab019cpushed2026-08-27T20:00:05Z185504Zis still the newestThe evidence this ticket cites is from a run that predates its own fix by 64 minutes, and it is being re-filed against that same stale run each cycle.
The deadlock, which is the part that matters
#788is blocked by this ticket. The drive is the only thing that can demonstrate the defect is gone. So the ticket blocks the drive, and the drive is what would close the ticket — and each executor cycle re-files it from the same old evidence. Left alone this never resolves; it is not slow, it is stuck.The machinery gap, now on its third instance
Neither the reporter nor the healer checks whether the red it is acting on still reproduces in the bits a new drive would run before filing or fixing. Today that has cost: three healer attempts on an already-fixed red (two
rebase onto origin/main conflicted, onediff cap breach (2 files / 91 lines; cap 3/60), all reverted), three executor ticks lost to held capacity, swarm workers dispatched at closed tickets, and three tickets (#912, #913, #916) for one defect. The healer is still carrying signature28ff46f6d26f, whose defect has been fixed twice over.The check is cheap — HEAD
get.idss.nz, readx-idss-release, andgit merge-base --is-ancestor <fix> <served>;scripts/lib/bootstrap-staleness-lib.shalready does exactly this for the drive-side preflight and could be reused verbatim on the report/heal side. Filing that separately rather than burying it here.#788is unblocked by this closure and re-fires on the next tick — and that drive, not another ticket, is what will settle whether the sshd fix holds.sshdunit — Ubuntu 24.04 names itssh, enroll exits 1 #917