assemble-payload.sh: staging the pinned QEMU from the Nix store makes the payload dir READ-ONLY, and the very next step (vm-guest.tar) dies with Permission denied #1752
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.
Dependencies
No dependencies set.
Reference
Matou/idss#1752
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?
Hit building the operator app for the 2026-09-22 fresh manual test (elitebook-03,
3b0e35cc, warm Nix store).scripts/assemble-payload.shstages the pinned QEMU bundle by copying the build output withcp -a. That output is a Nix store path (or a symlink to one), and store directories are moder-xr-xr-x— so the copy propagates the store's read-only mode onto the payload DEST directory itself:ls -ldafter the failure:dr-xr-xr-x 6 swarm swarm … payload-manual-3b0e35cc. The assembler had created the directory writable; the QEMU staging step took its mode away, and the very next step in the same script — thevm-guest.tarbundle — cannot write into it. Every later step fails the same way, andpnpm packagethen refuses on an incomplete payload.It is order-dependent, which is why it has not always bitten: the failure needs the QEMU slot to be staged from a store path before the vm-guest step. A driver that stages QEMU from an already-writable directory never sees it.
Wanted
chmod -R u+w "$dest", or copy withcp -a --no-preserve=modefor store sources). The store's read-only mode is meaningful inside the store and meaningless in a payload directory the app later reads, rewrites and tars.tar: Permission denied.vm-guest.tarexists.PAYLOAD_QEMU_SRC_DIRat an old payload dir is the same family).Workaround used
chmod -R u+w <dest>and re-run the assembler; it completes.Relates to #230 (pinned QEMU), #231 (the assembler), #1153 (the vm-guest bundle), #463 (the package preflight).
swarm-claim host=bens-mac-04 run=30622
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=bens-mac-04 run=30622
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=elitebook-distributed-server-03 run=30625
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1752 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
close-report for #1752 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope