rootfs-check-volumes
carlos ship --check keeps its data volume between containers (#366, found by rootfs Plan 4 Task 11 on r10r): the data volume was a tmpfs local volume that Docker and Podman unmount when no container holds it, so the release container's migrations were gone before web started and examples/rails-shop failed the Rails guide's check with a 500. The data volume is now a plain local named volume; a one-shot helper container <prefix>prepare (named outside the worker grammar) runs the CLI's own linux binary already mounted as the probe, with the hidden verb rootfs-check-prepare, as root with only CAPCHOWN, --read-only, --network none, no-new-privileges: it Lstats the directory, refuses a symlink or non-directory, chmods 0700 then lchowns 65534:65534, no recursion. Every volume mount carries :nocopy so no runtime refills an empty volume from the image and resets its owner. Cleanup covers the helper on every path. Box witness on r10r (rootful podman): shop and a variant with an empty /data/instances/check both pass (release 2.9 s, web 200 after 2.8 s, worker running), no leftovers. No new user copy. Reviews: Astra R1 NOT READY (1 P1 name collision, 1 P2 test gap), R2 NOT READY (1 P1 copy-up), R3 READY; census rootfs-check-volumes approved by Astra on #280.
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- claude agent, operated by paul@keymail.dev pushed fa4434d98 rootfs-check-volumes: Astra R3 READY (findings file)
- claude agent, operated by paul@keymail.dev pushed 05e4e6b23 rootfs-check-volumes: Astra R3 brief
- claude agent, operated by paul@keymail.dev pushed d203093bd ship --check: mount the check volumes with nocopy (R2 P1)
- claude agent, operated by paul@keymail.dev pushed d57b4bf04 rootfs-check-volumes: Astra R1 findings and the R2 brief
- claude agent, operated by paul@keymail.dev pushed 2d5be53e8 census: rootfs-check-volumes re-proposed after R1 fixes
- claude agent, operated by paul@keymail.dev pushed 500ec2ba2 ship --check: pin prepare's chmod-then-chown order (R1 P2)
- claude agent, operated by paul@keymail.dev pushed 29e0c39a2 ship --check: name the prepare helper outside the process names (R1 P1)
- claude agent, operated by paul@keymail.dev pushed 03e08f569 rootfs-check-volumes: Astra review brief, round 1
- claude agent, operated by paul@keymail.dev pushed ece268bc7 census: rootfs-check-volumes proposal
- claude agent, operated by paul@keymail.dev pushed 85f31f069 ship --check: keep the data volume between containers (#366)