Rootfs apps Plan 2 Task 10: dev fleet-box run record (#366). Box half passes on systemd 257.13 (rootfs probe incl. root-image, mounts, cgroup-strict, mdwe, box-addr; rootfs_ready; image carry-forwards; R-b supported by a stand-in unit; box-address deny with stand-in addresses). Instance checks blocked: StartStaged has no rootfs arm (Plan 3 Task N1); a flat rootfs row reaches the binary exec (N1 refuses it); fresh offcloud bootstrap leaves /run/carlos-control root:root (#416). Box torn down.
Prompts: <task-notification> <task-id>af95429f689494145</task-id> <tool-use-id>toolu_01WQNidZJjT36Qf17UEMZajn</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/723ae101-0fd7-40c3-a758-6adf1597efb2/tasks/af95429f689494145.output</output-file> <status>completed</status> <summary>Agent "Plan 3 Task 2 implementer" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>Status: DONE_WITH_CONCERNS Commits: cda4db65 (Task 2) and 1da111ff (fix round 1: atomic add refusal, unknown runtimes fixed and inert). All four fixes are in: 1. **`carlos add` race:** the write now goes through `registry.UpsertUnlessRootfs`, which adds `AND routes.runtime = ''` to the update's WHERE and returns the new `ErrRootfsRow`. `ErrRootfsRow` also works through the remote registry. Ordinary `Upsert` and its re-tenancy rule run the same SQL as before. A new regression test mints a rootfs row between runAdd's read and its write, through the `addBeforeWrite` test hook. It passes for both the same-tenant and the different-tenant case. 2. **Unknown runtimes:** `ActivatorOwned` and `ActivatorLeased` are now true for any instance with a non-empty runtime; `Resident` stays rootfs-v1 only. No SQL needed changing, because the existing SQL already checks for an empty or non-empty runtime. 3. **`carlos route --hibernate`:** it now refuses a row with a runtime as its first step, before the dry-run output and the other checks. It has a subprocess test covering three invocations. 4. **normalizeRoute comment:** now matches the ruling. Tests: I confirmed each new test fails with the fix removed. With the fixes in, these pass: the registry package, the invariant guards, the full root package (290 s) and targeted provision/host/activator runs. Concerns: - The guard is appended to `Upsert`'s claim WHERE line. If the claims cleanup deletes that WHERE, the merge must turn the guard into `WHERE routes.runtime = ''`. - No production code calls the predicates yet, so no answer changes today. But box-wide litestream (`ops.FleetDBsWithSkipped`) still skips only hibernating rows, so it would claim an awake rootfs row's database. A later task needs to switch it to `ActivatorLeased`. - The census will also list the new functions `UpsertUnlessRootfs`, `upsert`, `addWrite` and `runRouteHibernate` at gate A. Report: /home/paulca/amadan.net/carlos/platform/.claude/worktrees/rootfs-apps-3/.superpowers/sdd/2026-10-24-rootfs-apps-3-lifecycle/task-2-report.md (fix round appended)</result> <usage><subagent_tokens>188111</subagent_tokens><tool_uses>20</tool_uses><duration_ms>612438</duration_ms></usage> </task-notification> Squashed from rootfs-task10-run into main.
1 file changed,
+381
−76
docs/superpowers/plans/2026-10-24-rootfs-apps-2-verify.md+381 −76
CI passed — run details
diff --git a/docs/superpowers/plans/2026-10-24-rootfs-apps-2-verify.md b/docs/superpowers/plans/2026-10-24-rootfs-apps-2-verify.md| index 7b7da0a4d..2f7f08492 100644 |
| --- a/docs/superpowers/plans/2026-10-24-rootfs-apps-2-verify.md |
| +++ b/docs/superpowers/plans/2026-10-24-rootfs-apps-2-verify.md |
| @@ -14,25 +14,69 @@ Run record: |
| | Item | Value | |
| | --- | --- | |
| -| Operator / session | | |
| -| Date | | |
| -| Branch commit running on the box | | |
| -| Box instance id and fleet | | |
| +| Operator / session | claude (Opus 5.5), the Task 10 operator session Paul asked for on 2026-10-25; no subagents | |
| +| Date | 2026-10-26, 10:38Z to 11:09Z | |
| +| Branch commit running on the box | No branch build (P2 resolved). The dev release v0.28.18 (tag 98ac1088 on 6ddb3333): `/opt/carlos/carlos` sha256 `a76862ff24c83988b5522534c9a32ac4071bdf770a73dc6d62cb881405c705a3`, fetched from the GitHub release and checked. The witness and `rootfsimage.test` were built from main `ddf3b929`. | |
| +| Box instance id and fleet | `i-0bd176d779f8d0c2f`, fleet `r10w`, box `box-1` (shown by its logs as `frances-cartography`) | |
| | Dev console | `https://platform.dev.carlosframework.com` (fixed; anything else: stop) | |
| -| Dev AWS account id (`aws sts get-caller-identity --profile kass`) | | |
| -| R10 box instance id (`<r10-id>`) | | |
| -| R10 box launch time (UTC) and `expires` tag value | | |
| -| Teardown owner (this run, or Plan 4 Task 11 with its deadline) | | |
| -| Account (`<acct>`, the sqid; ops is `bab`) | | |
| -| Fleet (`<fleet>`) | | |
| -| Dev apps domain (`<dev apps domain>`) | | |
| -| Witness host (`witness.<dev apps domain>`; `<host>` below) | | |
| -| Instance id of the host (`<iid>`: the host itself when it is 40 bytes or fewer, else `_` + first 22 bytes + `-` + 16 hex of its sha256) | | |
| -| Dev deployment bucket (`<dev bucket>`: where the console writes releases) | | |
| -| The box's store bucket and IAM user (`<box bucket>`, `<box iam user>`) | | |
| -| Flat test row host of 5.1 | | |
| -| `systemctl --version` (first line) | | |
| -| `uname -r` | | |
| +| Dev AWS account id (`aws sts get-caller-identity --profile kass`) | `640012953448` | |
| +| R10 box instance id (`<r10-id>`) | `i-0bd176d779f8d0c2f` (t4g.small, ami-071babd89cea53fa3, subnet-0975dda9ac0e65347, SG `sg-06fea439e5b3b092c` `carlos-r10w-box`: no inbound, egress tcp 443 only; instance profile `carlos-root-runner`) | |
| +| R10 box launch time (UTC) and `expires` tag value | 2026-10-26T10:40:13Z; `expires=2026-10-27T10:39Z`, `ttl=24h`, `purpose=rootfs-apps-r10` | |
| +| Teardown owner (this run, or Plan 4 Task 11 with its deadline) | This run. Done: terminated 2026-10-26 ~11:08Z, 23.5 h before `expires` | |
| +| Account (`<acct>`, the sqid; ops is `bab`) | `bab` | |
| +| Fleet (`<fleet>`) | `r10w` | |
| +| Dev apps domain (`<dev apps domain>`) | `dev.carlosframework.com` | |
| +| Witness host (`witness.<dev apps domain>`; `<host>` below) | `witness.dev.carlosframework.com` | |
| +| Instance id of the host (`<iid>`: the host itself when it is 40 bytes or fewer, else `_` + first 22 bytes + `-` + 16 hex of its sha256) | `witness.dev.carlosframework.com` (31 bytes) | |
| +| Dev deployment bucket (`<dev bucket>`: where the console writes releases) | `carlos-dev-640012953448` | |
| +| The box's store bucket and IAM user (`<box bucket>`, `<box iam user>`) | `carlos-r10w-fleet-640012953448`, `carlos-remote-host-r10w` (from `infra/modules/region-remote-host` in a throwaway tofu root, local state, `prevent_destroy` removed in the copy) | |
| +| Flat test row host of 5.1 | `flatchk.dev.carlosframework.com` | |
| +| `systemctl --version` (first line) | `systemd 257 (257.13-1~deb13u1)` | |
| +| `uname -r` | `6.12.96+deb13-cloud-arm64` | |
| + |
| +### Run findings and deviations (2026-10-26) |
| + |
| +**F3 (blocker, Plan 2): no rootfs instance can start on a box.** |
| +- Every rootfs row the activator wakes is hibernating, so every one is planned. `rollout.Managed` (`internal/rollout/policy.go:161`) is `Adoptable && Hibernate`, and `ActivatorManaged` requires `Hibernate`. |
| +- A planned wake starts through `runPlanned` (`wakeplan.go:388`), then `startPinnedAt` (`swaphold.go:437`), then `StartStaged` (`genbackend.go:230`). The overlap swap's `spawnSuccessor` (`swap.go:398`) uses `StartStaged` too. |
| +- `StartStaged` has no `Runtime == RuntimeRootfsV1` branch. Task 9 added the rootfs dispatch to `Start`, `StartGen` and `StartGenExe` only (`backend_exec.go:1871-1930`). |
| +- For a nested row, `StartStaged` calls `spawnUnitFrom`, whose `nestedGate` (`backend_exec.go:2740`) refuses with `activator: a rootfs instance does not start through a binary unit`. That happens before `rootfsGates`, so C01, C02, C04 and C05, root's digest 403 and every start-time fact are unreachable. It also happens after the wake took the lease and checked for a replica. |
| +- `TestARootfsSwapOrHoldOnARefusingBoxIsARefusal` pins this refusal as intended. No test has a planned wake reach `startRootfs`. |
| +- Seen on every wake: 4.1, 5.3 and 5.4. |
| + |
| +**F2 (same cause, the flat arm): a flat rootfs row executes the image file.** |
| +- `StartStaged`'s flat arm calls `spawnChildFrom(g.StagedPath)`. It took the lease, booted fresh, set the row's cgroup, then ran `fork/exec /opt/carlos/versions/w1/witness: permission denied` (5.1). |
| +- RFS-2-C01 never fires. Only root's 0644 staging of the image stops the exec. |
| + |
| +**F1 (bootstrap): a fresh `bootstrap -offcloud` box cannot reach its control socket.** |
| +- systemd creates `/run/carlos-control` for `carlos-instance-control.socket` as `root:root 0750`. |
| +- Bootstrap writes `/etc/tmpfiles.d/carlos.conf` (`d /run/carlos-control 0750 root carlos`) but never runs `systemd-tmpfiles --create`. |
| +- So the agent logs `instance control socket /run/carlos-control/control.sock: ... connect: permission denied (nested wakes refuse until the channel answers)` and `layout: ... isolation not ready`. This lasts until a reboot or a manual `systemd-tmpfiles --create /etc/tmpfiles.d/carlos.conf`, which this run did (D3). |
| +- It likely affects every freshly bootstrapped box, fleet BYO boxes included. |
| + |
| +**Observations (not findings).** |
| +- O1: `/ready` and `/ready/rootfs` cannot be read with curl. The control service accepts only the agent's MainPID as its peer, and resets any other client. |
| +- O2: on an empty fresh box, `carlos add --hibernate` mints a flat row: no layout intent is recorded and no nested row exists as evidence (`cli.go` `addMintsNested`). The layout pass then refuses to move it (`db is missing`). Re-adding with explicit nested `--socket`/`--db` left a `/data/<host>.env` note in `status --layout`. |
| +- O3: after `remove` and re-`add`, the row's `version` stayed empty while the live link already named w1. Every wake answered `no build is installed for this instance yet`, and root's adopt pass did not stamp the row. Promoting w3 and then w1 fixed it (D4). |
| +- O4: a TCP connect to an address the slice denies times out. It does not return EPERM. |
| +- O5: `systemctl set-property --runtime <slice> IPAddressAllow=` leaves an empty drop-in rather than none. |
| +- O6: a wake onto a tampered staged image was not refused by the planner (F3's refusal came first). This is unverified either way. |
| +- O7: once w1 shipped with `--hibernate`, every later ship needed `--hibernate`. |
| +- O8: `ok` probe lines carry no detail. |
| +- #411 and #413 were not hit. |
| + |
| +**Deviations.** |
| +- D1: box blocks ran as `ssm send-command` scripts that began with the preamble, with output to `s3://carlos-dev-640012953448/root-runner/r10w-20261026T1039/ssm/` (run plan section 5 item 9). |
| +- D2: the box was bootstrapped the normal way from the dev release (P2): |
| + - the v0.28.18 binary from the GitHub release, sha256 checked; |
| + - `host.env` per the fleet contract plus `CARLOS_SWAP=overlap`, with the default system channel (stable, v0.28.18) and no `CARLOS_SYSTEM_CHANNEL`; |
| + - credentials and `host.env` in a tar fetched by the instance role over SigV4 from the run prefix, so no secret or URL went into a send-command; the object was deleted right after; |
| + - `jq`, `sqlite3` and `squashfs-tools` installed from the image's https mirrors. |
| +- D3: on the box, `systemd-timesyncd` was pointed at 169.254.169.123 (the 443-only SG blocks NTP), and `systemd-tmpfiles --create` was run (F1). |
| +- D4: the witness row was added with `--account-id bab --app witness --channel edge --hibernate` and explicit nested paths (`/run/carlos/instances/<iid>/app.sock`, `/data/instances/<iid>/<host>.db`). Promoting w3 and then w1 restamped it (O3). |
| +- D5: w1 shipped with `--hibernate`, so the row and the release agree that the app hibernates. w2 to w4 needed it too, and w5 was refused at ship. |
| +- D6: 4.8 and 5.5 used stand-in transient units on the box (`r10-cgtest.service`, and `r10-dialer.service` in the witness's slice), because the witness could not run (F3). Both were removed. |
| +- D7 (P1, approved by Paul): two rows on sophie-knitting (`--account-id bab --app witness --channel r10-proxy`, for `witness.` and `flatchk.dev.carlosframework.com`), then `apps place --target fleet/r10w`. Both were removed at teardown. |
| ## The witness, in short |
| @@ -82,7 +126,7 @@ exit=1 |
| On the dev box, where `/opt/carlos/carlos` exists, the same verify is run in Step 3 (check 3.2): it should print no error about these units. |
| -Verdict (the recorded output above is Task 4's; the box's own run is check 3.2): |
| +Verdict (the recorded output above is Task 4's; the box's own run is check 3.2): pass. Task 4's record stands; the box's own verify (3.2) printed nothing for all five templates. |
| ## The box preamble (paste at the top of every box session) |
| @@ -146,7 +190,16 @@ Expected: `whoami` ends `at https://platform.dev.carlosframework.com`. If it nam |
| Result: |
| -Verdict (stop if anything names another console, account or instance): |
| +``` |
| +env | grep CARLOS_(CONSOLE|SERVICE_TOKEN|DESTINATION) -> nothing set |
| +carlos auth default -> https://console.carloku.com (from /home/paulca/.carlos/config); every command below carried --console |
| +carlos auth whoami --console https://platform.dev.carlosframework.com -> paul@keymail.dev at https://platform.dev.carlosframework.com (expires 2027-01-11T13:48:32Z, accounts: ops (bab)) |
| +aws sts get-caller-identity --profile kass -> 640012953448 arn:aws:iam::640012953448:user/remote-agent |
| +describe-instances i-0bd176d779f8d0c2f -> running, LaunchTime 2026-10-26T10:40:13Z, |
| + tags purpose=rootfs-apps-r10, ttl=24h, expires=2026-10-27T10:39Z, Name=carlos-r10w-box |
| +``` |
| + |
| +Verdict (stop if anything names another console, account or instance): pass. The `expires` tag is the tofu plan time plus 24 h, 74 s earlier than launch plus 24 h (the stricter side), so it was not re-tagged. |
| ### 2.1 Confirm the box (before any box command, including 2.2) |
| @@ -154,7 +207,12 @@ Open a session and paste the box preamble (above). The first line of its output |
| Result (the `box confirmed` line, `$iid`, `$u`, `$slice`): |
| -Verdict (stop if the session ended with WRONG BOX): |
| +``` |
| +preamble: iid=witness.dev.carlosframework.com u=carlos-instance-rootfs@witness.dev.carlosframework.com.service slice=carlos-instances-witness.dev.carlosframework.com.slice img=/opt/carlos/versions/w1/witness |
| +box confirmed: i-0bd176d779f8d0c2f |
| +``` |
| + |
| +Verdict (stop if the session ended with WRONG BOX): pass. Every box block of this run (deviation D1) was one `ssm send-command` script that began with the preamble, and every one printed `box confirmed: i-0bd176d779f8d0c2f`. |
| ### 2.2 The box's addresses |
| @@ -167,6 +225,19 @@ ip -6 addr show scope global # expect nothing |
| Result: |
| +``` |
| +ens5 172.31.5.223/20 |
| +(ip -6 addr show scope global: nothing) |
| +scratch=/home/paulca/.cache/tmp/claude-1001/r10w-20261026T1039/scratch.DSJi8X |
| +DIAL=172.31.5.223:22,198.51.100.10:9999,[2001:db8::10]:9999 |
| +grep -c lnk: processes-dotdot.json:1, processes-dotdot-missing.json:1 |
| +ship w1 (with --hibernate, deviation D5): built the rootfs image: 13.4MB, 5 files. / shipped witness w1 |
| +promote w1 edge: promoted witness w1 -> edge |
| +make-oci: blobs index.json oci-layout |
| +ship w3 without --hibernate: "witness's rootfs releases hibernate (w1 is one), so this release must too. ship it with --hibernate, or use a new app" |
| +ship w3 --hibernate: "too many uploads - try again in 41s" (twice), then: shipped witness w3 |
| +``` |
| + |
| Then on a workstation with the Plan 1 CLI (`carlos` from this branch), with `A` set to the private IPv4 and `<acct>`, `<fleet>` known: |
| ```bash |
| @@ -210,7 +281,14 @@ aws s3 ls --profile kass --region eu-west-1 s3://<dev bucket>/apps/<acct>/witnes |
| Result: |
| -Verdict: |
| +``` |
| +releases/w1/: manifest.json 654, rootfs.squashfs 14004224 |
| +releases/w3/: manifest.json 712, rootfs.squashfs 14004224 |
| +w1 manifest: {"kind":"rootfs","artifacts":["rootfs-linux-arm64"],"jit":null,"hibernate":true} |
| +w3 manifest: {"kind":"rootfs","artifacts":["rootfs-linux-arm64"],"hibernate":true} |
| +``` |
| + |
| +Verdict: pass. Both are `kind: rootfs` with only the `rootfs-linux-arm64` artifact. |
| ## Step 3: Box facts before the instance (operator, on the box as root) |
| @@ -237,7 +315,13 @@ Expected: `squashfs` listed; systemd 257. |
| Result: |
| -Verdict: |
| +``` |
| + squashfs (already in /proc/filesystems; no modprobe needed) |
| +systemd 257 (257.13-1~deb13u1) |
| +6.12.96+deb13-cloud-arm64 |
| +``` |
| + |
| +Verdict: pass. |
| ### 3.2 `systemd-analyze verify` on the box |
| @@ -253,7 +337,15 @@ Expected: no error about these units (the binary exists here, so Task 4's "not e |
| Result: |
| -Verdict: |
| +``` |
| +== carlos-instance-rootfs@ exit=0 (no output) |
| +== carlos-instance-rootfs-gen@ exit=0 (no output) |
| +== carlos-instance-rootfs-worker@ exit=0 (no output) |
| +== carlos-instance-rootfs-cmd@ exit=0 (no output) |
| +== carlos-instance-rootfs-probe exit=0 (no output) |
| +``` |
| + |
| +Verdict: pass. |
| ### 3.3 `/opt/carlos/carlos` is a regular file |
| @@ -269,7 +361,14 @@ Expected: `regular file`, `not a symlink`. A symlink into `/opt/carlos/versions` |
| Result: |
| -Verdict: |
| +``` |
| +regular file /opt/carlos/carlos |
| +not a symlink |
| +-rwxr-xr-x 1 root root 51839138 Oct 26 10:42 /opt/carlos/carlos |
| +sha256 a76862ff24c83988b5522534c9a32ac4071bdf770a73dc6d62cb881405c705a3 (the v0.28.18 release's linux-arm64) |
| +``` |
| + |
| +Verdict: pass. |
| ### 3.4 The rootfs probe, line by line |
| @@ -294,7 +393,23 @@ Expected: the report has `ready: true` and every line `ok`, except: |
| Result (paste the seven lines, each `check verdict detail`): |
| -Verdict: |
| +``` |
| +carlos-instance-rootfs-probe.service: inactive (dead); last run 10:45:45 to 10:45:49, "Deactivated successfully", "Finished" |
| +rootfs-probe.out: {"ready":true}, 31 lines |
| +root-image ok |
| +mounts-allowlisted ok |
| +cgroup-strict ok |
| +mdwe ok |
| +cpu-limits ok |
| +io-weight unverified weights are set, but no disk here has io.cost or BFQ to enforce them |
| +box-addr ok |
| +the other 24 lines: ok, except imds-v6 unverified (no route to the address; deny not exercised) |
| + and private-v6 unverified (no route to fd00::1, fec0::1, 64:ff9b::a00:1; deny not exercised) |
| +curl --unix-socket .../control.sock http://x/ready/rootfs as root: 000 (Recv failure: Connection reset by peer); as carlos: 000 |
| +status snapshot (fleets/r10w/status/boxes/box-1.json): "rootfs_ready": true, layout mode nested, default true |
| +``` |
| + |
| +Verdict: pass for the probe: `ready: true`, every listed line `ok`, `io-weight` `unverified` (allowed). Two checklist defects, not failures: (1) `ok` lines carry no `detail` in this build, so the EACCES/EPERM details of `cgroup-strict` and `mdwe` and `cpu-limits`'s `0::/` reading cannot be read from the report; (2) the `curl /ready/rootfs` line cannot work, because the control service accepts only the agent's own MainPID as its peer (`instancectl.AuthenticatePeerTuple`), so readiness was read from the report and the status snapshot instead (observation O1). Fallback 1: `RootImage=` through the `image` symlink was followed (no drop-in needed). Fallback 2: `strict` was honoured (and 5.3's first shape shows the line failing once it is replaced). |
| ### 3.5 The binary probe and `/ready` after the upgrade |
| @@ -309,7 +424,14 @@ Expected: `mdwe` ok (EACCES or EPERM) and `box-addr` ok in the binary probe; `/r |
| Result: |
| -Verdict: |
| +``` |
| +{"check":"mdwe","verdict":"ok"} |
| +{"check":"box-addr","verdict":"ok"} |
| +probe.out: {"ready":true}, 27 lines, all ok except imds-v6, private-v6 and io-weight unverified |
| +/ready over the socket: 000 (the same peer check as 3.4) |
| +``` |
| + |
| +Verdict: pass for the probe lines. `/ready` is not readable with curl (O1). This was a fresh box with no binary instances (run plan section 5 item 6), so "after the upgrade" proves nothing extra here. |
| ### 3.6 Box addresses and the slice deny (Task 7a; baseline before the stand-ins) |
| @@ -327,7 +449,15 @@ Expected: the deny lists the box's interface addresses (its private IPv4 and, if |
| Result: |
| -Verdict: |
| +``` |
| +IPAddressDeny: ::1/128 172.31.5.223/32 127.0.0.0/8 fe80::ff:c0ff:fe59:fc83/128 |
| +box-addrs: 172.31.5.223 |
| +drop-ins: 50-IPAddressAllow.conf 50-IPAddressDeny.conf |
| +IPAddressAllow: 172.31.0.2/32 |
| +710f9ddadd04a5c140719558467d17dd4708f48ec676cca79d4a453febdbafbe /run/systemd/system.control/carlos-instances.slice.d/50-IPAddressAllow.conf |
| +``` |
| + |
| +Verdict: pass. The deny lists every interface address: the private IPv4 plus loopback and ens5's link-local, the same shape leo showed in the v0.28.18 roll. `box-addrs` lists the global one. The resolver allow is its own drop-in. Both probes report `box-addr ok` and `mdwe ok`. |
| ### 3.7 The Plan 1 image carry-forwards |
| @@ -350,7 +480,17 @@ if mountpoint -q /run/w1chk; then echo "STILL MOUNTED: umount /run/w1chk by hand |
| Result: |
| -Verdict: |
| +``` |
| +ls /opt/carlos/versions/w1 -> witness witness.manifest.json (ops form: img=/opt/carlos/versions/w1/witness) |
| +mount=0 |
| +/run/w1chk: app data dev etc opt proc run sys tmp (root drwxr-xr-x root root) |
| +/run/w1chk/app: lnk -> sub/deeper, secret (-rw----r--), setid (-rwxr-xr-x), sub, witness (-rwxrwxr-x) |
| +ls=0 |
| +unmounted |
| +dir removed |
| +``` |
| + |
| +Verdict: pass. |
| **4 KiB padding.** |
| @@ -361,7 +501,12 @@ echo $(( $(stat -c %s "$img") % 4096 )) # expect 0; and the loop mount abov |
| Result: |
| -Verdict: |
| +``` |
| +14004224 |
| +0 |
| +``` |
| + |
| +Verdict: pass. |
| **unsquashfs comparison.** First install the tool on the box (a small package, inside R10's scope): |
| @@ -387,13 +532,31 @@ find $scratch/root -printf '%M %u/%g %s %P\n' # on the workstation |
| Result: |
| -Verdict: |
| +``` |
| +rootfsimage.test cross-built from main ddf3b929, fetched on the box with the instance role from s3://carlos-dev-640012953448/root-runner/r10w-20261026T1039/ |
| +=== RUN TestSquashfsMatchesUnsquashfs |
| +--- PASS: TestSquashfsMatchesUnsquashfs (0.02s) |
| +PASS |
| +/root/rsfi removed |
| +``` |
| + |
| +Verdict: pass. |
| **Ship-time normalisation, seen on the box.** In `unsquashfs -lln "$img"` every entry is `0/0`, `app/secret` is `-rw-r--r--`, `app/setid` is `-rwxr-xr-x` (no `s`), and `/` is `drwxr-xr-x`. |
| Result: |
| -Verdict: |
| +``` |
| +drwxr-xr-x 0/0 116 squashfs-root |
| +drwxrwxr-x 0/0 79 squashfs-root/app |
| +lrwxrwxrwx 0/0 10 squashfs-root/app/lnk -> sub/deeper |
| +-rw----r-- 0/0 15 squashfs-root/app/secret |
| +-rwxr-xr-x 0/0 8360892 squashfs-root/app/setid |
| +-rwxrwxr-x 0/0 8360892 squashfs-root/app/witness |
| +(every entry 0/0; mount points data dev opt opt/carlos proc run run/carlos sys drwxr-xr-x, tmp drwxrwxrwt, etc/resolv.conf added) |
| +``` |
| + |
| +Verdict: pass on substance: owners 0/0, set-id bit cleared, `/` 0755, and `app/secret` widened by `o+r` (0600 to 0604), which is Plan 1's rule. The checklist's `-rw-r--r--` expected a group bit that Plan 1 does not add. |
| ## Step 4: Create a rootfs row and wake it (operator) |
| @@ -427,7 +590,16 @@ Expected: the wake is refused with RFS-2-C04, `this fleet box cannot confirm whi |
| Result (record the line): |
| -Verdict: |
| +``` |
| +10:53:32 curl https://witness.dev.carlosframework.com/ -> 503 "instance failed to wake" |
| +carlos logs: 2026-10-26 10:53:33 [platform] witness.dev.carlosframework.com wake failed: start witness.dev.carlosframework.com: witness.dev.carlosframework.com: activator: a rootfs instance does not start through a binary unit |
| +box journal: lease: witness.dev.carlosframework.com: acquired in 47ms |
| + activator: no replica for witness.dev.carlosframework.com in s3://carlos-r10w-fleet-640012953448/witness.dev.carlosframework.com - booting fresh |
| + activator: wake witness.dev.carlosframework.com: start ...: activator: a rootfs instance does not start through a binary unit |
| +systemctl is-active "$u" -> inactive |
| +``` |
| + |
| +Verdict: fail (finding F3). Nothing started (fail closed), but the refusal is not RFS-2-C04: the wake never reaches `rootfsGates`, so the RunAgent ownership wiring is not exercised. |
| ### 4.2 The owner record is written by hand; the wake is admitted |
| @@ -455,9 +627,9 @@ systemctl restart carlos-edge.service |
| curl -s https://witness.<dev apps domain>/ # expect ok |
| ``` |
| -Result: |
| +Result: not run. No owner record was written: `aws s3 ls .../accounts/bab/fleets/r10w.json` printed nothing at the start and at teardown. |
| -Verdict: |
| +Verdict: not run, blocked by F3. No wake reaches the ownership check, so a hand-written record would prove nothing. |
| ### 4.3 What the instance sees |
| @@ -481,9 +653,9 @@ Expected in `/facts`: |
| `systemctl show` reports the host slice and `RootImage=/run/carlos-control/exe/<iid>/rootfs/run/image`. `carlos status --layout` says `nested`, and the box's status snapshot has `rootfs_ready: true`. |
| -Result: |
| +Result: not run: no rootfs instance can start (F3). What could be read: the status snapshot has `rootfs_ready: true`, and `carlos status --layout` lists `box-1 (nested by default) witness.dev.carlosframework.com nested` with the stale-env note of observation O2. |
| -Verdict: |
| +Verdict: not run (F3). |
| ### 4.4 `/home`, `/root`, `/run/user` show systemd's inaccessible node |
| @@ -493,9 +665,9 @@ curl -s https://witness.<dev apps domain>/facts | jq -r '.mounts[]' | grep -E ' |
| Expected: three lines, each with root `/systemd/inaccessible/dir`, per-mount option `ro`, and filesystem type `tmpfs`, for example `... /systemd/inaccessible/dir /home ro,nosuid,nodev,noexec,relatime ... - tmpfs tmpfs ...` (observed that way on DOCS-T1, systemd 257.13). A directory mounted there that is not this node is a failure (Task 7 fix 1). Record the actual lines for all three. |
| -Result (paste the three mountinfo lines): |
| +Result (paste the three mountinfo lines): not run (F3). |
| -Verdict: |
| +Verdict: not run (F3). The probe's `mounts-allowlisted ok` (3.4) is the only evidence of the namespace's mount set on this box. |
| ### 4.5 The rootfs templates set no `PrivateUsers=`, and `realRootLaunchOwned` passes for a real start |
| @@ -515,7 +687,18 @@ Expected: no uncommented `PrivateUsers=` in any template; `PrivateUsers` reads ` |
| Result: |
| -Verdict: |
| +``` |
| +== carlos-instance-rootfs@.service no PrivateUsers= |
| +== carlos-instance-rootfs-gen@.service no PrivateUsers= |
| +== carlos-instance-rootfs-worker@.service no PrivateUsers= |
| +== carlos-instance-rootfs-cmd@.service no PrivateUsers= |
| +== carlos-instance-rootfs-probe.service no PrivateUsers= |
| +systemctl show -p PrivateUsers --value "$u" -> no |
| +systemctl is-active "$u" -> inactive |
| +journalctl -b -u "$u" | grep -ci 'rootfs launch refused' -> 0 |
| +``` |
| + |
| +Verdict: the template half passes. The `realRootLaunchOwned` half is not run (F3: no real start). The probe's `launch-root-owned ok` line is the only evidence for it. |
| ### 4.6 The worker mode |
| @@ -530,9 +713,9 @@ journalctl -u "$w" --no-pager | tail |
| Expected, if this build has a start path for the `jobs` process (Plan 3 owns worker supervision; Plan 2 does not): `rootfswitness worker: started`, then `alive` lines; on stop `stopping` and `systemctl show -p ExecMainStatus` of 0. If nothing starts it, record "not run: no worker start path in Plan 2". |
| -Result: |
| +Result: not run: no worker start path in Plan 2 (Plan 3 owns it), and no web process could start either (F3). |
| -Verdict: |
| +Verdict: not run. |
| ### 4.7 The 01777 OCI root (preflight 6.10) |
| @@ -547,7 +730,13 @@ Expected after the swap: `root_mode` is `0755` (forced at ship; the sticky world |
| Result: |
| -Verdict: |
| +``` |
| +w3 shipped from the make-oci layout (with --hibernate); staged at /opt/carlos/versions/w3/witness |
| +unsquashfs -lln /opt/carlos/versions/w3/witness | head -1 -> drwxr-xr-x 0/0 116 2026-10-26 10:48 squashfs-root |
| +promote w3 edge then w1 edge ran at 10:53 (also used to restamp the row, D4); no instance ran, so /facts was not read |
| +``` |
| + |
| +Verdict: the image half passes (the 01777 root is forced to 0755). The running half is not run (F3). |
| ### 4.8 `ControlGroup` is empty for a stopped rootfs unit only after the cgroup is removed |
| @@ -588,7 +777,16 @@ Only once the listing shows a `sleep 30` line with `0::$cg`, paste the loop bloc |
| Result: |
| -Verdict: |
| +``` |
| +The witness unit never ran (F3). Stand-in on the same box and systemd 257.13 (deviation D6): |
| +a transient r10-cgtest.service (KillMode=control-group; a shell that sleeps 3 s on SIGTERM), cg=/system.slice/r10-cgtest.service, 2 procs, |
| +stopped with --no-block and sampled every 0.1 s (uniq -f1 -c): |
| + 25 1 ControlGroup='/system.slice/r10-cgtest.service' state=deactivating dir=present |
| + 35 26 ControlGroup='' state=inactive dir=gone |
| +afterwards: inactive; "Unit r10-cgtest.service could not be found." |
| +``` |
| + |
| +Verdict: pass for systemd's behaviour: across a 2.5 s stop, `ControlGroup` stayed set while the directory existed and was empty only once it was gone; never `''` with `dir=present`. This supports R-b's premise on 257.13. Not run on the rootfs unit itself (F3). The optional nsenter step was not run. |
| (The next request wakes the witness again.) |
| @@ -617,15 +815,27 @@ Expected: `carlos logs` (or the response body) shows RFS-2-C01's text (`rootfs i |
| Result: |
| -Verdict: |
| +``` |
| +row (run plan section 5 item 3): flatchk.dev.carlosframework.com|witness|edge|1|rootfs-v1|/run/carlos/flatchk.dev.carlosframework.com.sock|/data/flatchk.dev.carlosframework.com.db |
| +three requests: 503 503 503 |
| +journal, each time: |
| + lease: flatchk.dev.carlosframework.com: acquired in 41ms |
| + activator: no replica for flatchk.dev.carlosframework.com in s3://carlos-r10w-fleet-640012953448/flatchk.dev.carlosframework.com - booting fresh |
| + cgroup: flatchk.dev.carlosframework.com: parent memory.max=1024M / memory.max=1024M memory.high=921M |
| + activator: wake flatchk.dev.carlosframework.com: start flatchk.dev.carlosframework.com: fork/exec /opt/carlos/versions/w1/witness: permission denied |
| +carlos-instance-rootfs@flatchk.dev.carlosframework.com.service: inactive |
| +the same at 10:50:46 for the witness row while it was still flat (carlos logs): wake failed: start witness.dev.carlosframework.com: fork/exec witness: permission denied |
| +``` |
| + |
| +Verdict: fail (finding F2). No RFS-2-C01. The flat rootfs row took the lease, booted fresh, set its cgroup, then exec'd the squashfs image as a flat binary. Only the image's 0644 mode stopped it. |
| ### 5.2 RFS-2-C05: ownership by another account |
| Rewrite the hand-written owner record to name another account. Expected: the next wake refuses with RFS-2-C05 (`this instance belongs to an account that does not own this fleet`). Restore the record. (RFS-2-C03, a shared platform box, is covered by Task 8's table only: this approval is for the one fleet box.) |
| -Result: |
| +Result: not run. The ownership check is never reached (F3), and no owner record was written. |
| -Verdict: |
| +Verdict: not run (F3). |
| ### 5.3 RFS-2-C02: the probe broken two ways |
| @@ -665,7 +875,19 @@ Recover the same way as after the first shape (the block above that removes `90- |
| Result (both shapes): |
| -Verdict: |
| +``` |
| +shape 1, ProtectControlGroups=yes: |
| + instance-control: rootfs probe: cgroup-strict fail /proc/self/cgroup reads "0::/carlos.slice/carlos-instances.slice/carlos-instance-rootfs-probe.service", want 0::/; /sys/fs/cgroup lists carlos.slice; /sys/fs/cgroup lists system.slice; /sys/fs/cgroup lists user.slice |
| + wake: 503; activator: wake witness.dev.carlosframework.com: start ...: activator: a rootfs instance does not start through a binary unit |
| + recovered: drop-in dir gone, rootfs probe {"ready":true} |
| +shape 2, TemporaryFileSystem=/var/lib:ro: |
| + carlos-instance-rootfs-probe.service: failed (Result: exit-code), status=226/NAMESPACE |
| + instance-control: rootfs probe: rootfs-probe-unit fail Job for carlos-instance-rootfs-probe.service failed because the control process exited with error code. ... exit status 1 |
| + wake: 503, the same F3 refusal |
| + recovered: both probes {"ready":true}; not-ok only imds-v6, private-v6, io-weight |
| +``` |
| + |
| +Verdict: the probe half passes: both shapes fail the probe as designed, and it recovers. The refusal half fails: the wake refused with F3's text, not RFS-2-C02. `rootfs_ready: false` in the snapshot was not seen: the snapshot is written every 5 min and each break lasted about 15 s. |
| ### 5.4 Tamper: the staged image changed |
| @@ -692,7 +914,15 @@ Expected: the wake refuses with root's 403 (`digest`) in `carlos logs`; after th |
| Result: |
| -Verdict: |
| +``` |
| +stat: 644 root:root; sha256 9556e977732b0194b5eb6c7c492a43dd617d181b061c9ce416bb209a2007e5de |
| +/etc/hostname copied over $img; systemctl stop $u (already inactive) |
| +wake: 503; lease acquired; booting fresh; start ...: activator: a rootfs instance does not start through a binary unit |
| +restored: both sha256 9556e977...e5de; /root/w1-image.orig: No such file or directory |
| +next wake: 503, the same F3 refusal |
| +``` |
| + |
| +Verdict: not run in substance (F3). The tampered image reached the spawn and was refused for F3's reason before root's digest check, so the 403 was not seen. The wake planner did not refuse the tampered file either (observation O6). |
| ### 5.5 The box's own addresses (Task 7a, #367) |
| @@ -710,7 +940,14 @@ Expected: `err` is an `operation not permitted` error (EPERM from the BPF filter |
| Result: |
| -Verdict: |
| +``` |
| +The witness never ran (F3). Stand-in (D6): /run/r10-dialer.py as a transient r10-dialer.service in carlos-instances-witness.dev.carlosframework.com.slice |
| +(User=nobody; ControlGroup /carlos.slice/carlos-instances.slice/carlos-instances-witness.dev.carlosframework.com.slice/r10-dialer.service; |
| +no IPAddressDeny or IPAddressAllow of its own), one TCP connect per target per round, 2 s timeout. sshd listens on 0.0.0.0:22. |
| +every round: 172.31.5.223:22=timeout |
| +``` |
| + |
| +Verdict: pass for the slice deny with a stand-in process: never a connect, never refused. The answer is a timeout, not EPERM. A TCP connect does not report the cgroup egress drop; it retransmits until the timeout (observation O4), so the checklist's EPERM expectation does not hold for TCP. |
| **5.5b The stand-in addresses: deny reaches running children, resolver allow untouched.** TEST-NET-2 and the IPv6 documentation range; neither is in the template's own `IPAddressDeny`. Record the allow drop-in first: |
| @@ -764,7 +1001,21 @@ Expected: the deny lists both stand-ins; from inside the witness both answers ar |
| Result: |
| -Verdict: |
| +``` |
| +stand-ins added 11:03:27; listeners 198.51.100.10:9999 (pid 3740) and [2001:db8::10]:9999 (pid 3741), none on a wildcard; box curl: 200 and 200 |
| +dialer log (one process, MainPID 3701, NRestarts=0, started before the stand-ins): |
| + 11:03:27 172.31.5.223:22=timeout 198.51.100.10:9999=timeout 2001:db8::10:9999=ENETUNREACH |
| + 11:03:31 172.31.5.223:22=timeout 198.51.100.10:9999=connected 2001:db8::10:9999=connected |
| + 11:03:35 172.31.5.223:22=timeout 198.51.100.10:9999=connected 2001:db8::10:9999=connected |
| + 11:03:43 172.31.5.223:22=timeout 198.51.100.10:9999=timeout 2001:db8::10:9999=timeout |
| +IPAddressDeny: 2001:db8::10/128 fe80::ccd1:a3ff:fed8:790a/128 172.31.5.223/32 127.0.0.0/8 fe80::ff:c0ff:fe59:fc83/128 198.51.100.10/32 ::1/128 |
| +box curl after: 200 and 200 |
| +IPAddressAllow: 172.31.0.2/32; allow-unchanged; drop-ins: 50-IPAddressAllow.conf 50-IPAddressDeny.conf |
| +box-addr ok in probe.out and rootfs-probe.out |
| +box-addrs before a control restart: 172.31.5.223; after `systemctl restart carlos-instance-control`: 172.31.5.223 198.51.100.10 2001:db8::10 (both probes ready, box-addr ok) |
| +``` |
| + |
| +Verdict: pass with a stand-in process. The deny reached a running child within one refresh: the same process connected at 11:03:31 and 11:03:35, and was denied from 11:03:43. The resolver allow, its drop-in and its hash are unchanged, and both probes report `box-addr ok`. `box-addrs` is written by the probe run, so it listed the stand-ins only after a control restart. The deny also took carlosdummy0's own link-local address. |
| **5.5c The hazard #328 drops box addresses for (allow beats deny), by hand.** With `$slice` from the box preamble (confirm it with `systemctl show -p Slice --value "$u"`), and `G` the IPv6 stand-in: |
| @@ -781,7 +1032,14 @@ Expected: refused (5.5b), then connects (allow beats deny across the merged list |
| Result (all three answers): |
| -Verdict: |
| +``` |
| +before (5.5b): 2001:db8::10:9999=timeout |
| +IPAddressAllow=2001:db8::10/128 on the witness slice at 11:04:19 -> 11:04:21 and 11:04:27: 2001:db8::10:9999=connected |
| +IPAddressAllow= at 11:04:28 -> 11:04:35: 2001:db8::10:9999=timeout |
| +the "no runtime drop-in" grep matched carlos-instances-witness.dev.carlosframework.com.slice.d, holding 50-IPAddressAllow.conf with an empty IPAddressAllow= (removed by hand in 5.5d) |
| +``` |
| + |
| +Verdict: pass: refused, then connects, then refused. Allow beats deny across the merged lists, which is the systemd evidence for #328's rule. `set-property IPAddressAllow=` leaves an empty runtime drop-in rather than none (observation O5). |
| **5.5d Remove the stand-ins** (also in Step 6, in case the checks stop early): |
| @@ -798,7 +1056,17 @@ After one deny refresh (about 10 s) `systemctl show -p IPAddressDeny --value car |
| Result: |
| -Verdict: |
| +``` |
| +dialer stopped (inactive); /run/r10-dialer.py and /root/r10-dialer.py removed |
| +listeners killed; /root/stub-v4.pid /root/stub-v6.pid /root/allow.before removed; stub dir and /root/stub-dir removed |
| +no listener on 9999 |
| +Device "carlosdummy0" does not exist. |
| +the empty slice drop-in removed, daemon-reload: no runtime drop-in left on carlos-instances-witness.dev.carlosframework.com.slice |
| +IPAddressDeny after 15 s: 172.31.5.223/32 127.0.0.0/8 fe80::ff:c0ff:fe59:fc83/128 ::1/128 127.0.0.1/32 |
| +after a control restart: box-addrs 172.31.5.223; both probes {"ready":true} |
| +``` |
| + |
| +Verdict: pass. The deny is back to the box's own addresses (127.0.0.1/32 now appears beside 127.0.0.0/8, which is harmless). |
| ### 5.6 The JIT opt-in (R11, C10) |
| @@ -844,7 +1112,13 @@ Expected: on the non-jit witness `wx_mmap` is an EACCES (or EPERM) error and `sh |
| Result: |
| -Verdict: |
| +``` |
| +w2 shipped with --jit (and --hibernate): manifest "jit": true; w1's manifest "jit": null |
| +not promoted: no instance can run (F3), so wx_mmap, MemoryDenyWriteExecute and 50-carlos-jit.conf could not be observed |
| +rootfs probe mdwe ok throughout |
| +``` |
| + |
| +Verdict: not run (F3). The ship half passes. |
| ### 5.7 (Folded into 5.5) |
| @@ -871,7 +1145,13 @@ Expected: `argv[0]` is `/app/lnk/../bin/witness` and `exe` is `/app/sub/bin/witn |
| Result: |
| -Verdict: |
| +``` |
| +w4 (/app/lnk/../bin/witness) shipped; manifest web command ["/app/lnk/../bin/witness"] |
| +w5 refused at ship: the web process runs /app/lnk/../../app/witness, which the image does not have. commands are looked up in the process's PATH, or from its working_dir when they contain a slash |
| +neither promoted (F3) |
| +``` |
| + |
| +Verdict: the ship side passes: the CLI resolves `..` after a symlink the way the kernel does, accepting w4 and refusing w5. The box half is not run (F3). |
| ## Step 6: Clean up and record (operator) |
| @@ -953,29 +1233,54 @@ Any attached managed policies on the user (`aws iam list-attached-user-policies` |
| Cleanup record (each command's output, and the time the box was terminated against the `expires` tag): |
| +``` |
| +6.1 box (11:06Z): stand-ins already gone (Device "carlosdummy0" does not exist); no runtime drop-in on the witness slice; |
| + probe drop-in dir gone; control restarted, rootfs probe {"ready":true}; /root/w1-image.orig: No such file or directory; |
| + r10-dialer and r10-cgtest inactive; carlos remove witness.dev.carlosframework.com / flatchk.dev.carlosframework.com: |
| + "removed" x2; routes query empty; "$u" inactive |
| +sophie-knitting i-05498eada6f0afd23 (P1, 11:07Z): carlos remove witness.dev.carlosframework.com / flatchk.dev.carlosframework.com: |
| + "removed" x2; routes query empty |
| +console: fleets detach-box r10w box-1 -> "detached r10w/box-1 - its next dial-in is refused and any live channel is closed" |
| +6.2 dev bucket: releases/w1 w2 w3 w4 removed (w5 never existed), channels/edge.json removed; accounts/bab/fleets/r10w.json |
| + never written (ls empty); apps delete witness -> "trashed witness. It is purged in 29d, at 2026-11-25 11:07 UTC" |
| + left under apps/bab/witness/ for the purge: kind.json, pipeline.json, logs/sophie-knitting/** and logs/frances-cartography/** |
| + removed by exact prefix: fleets/r10w/ (bindings x2, metrics, status/boxes/box-1.json, usage) and |
| + root-runner/r10w-20261026T1039/ (ssm outputs, rootfsimage.test; etc.tar already removed at 10:43Z); both now list empty |
| +6.4 box bucket: 80 versions/markers deleted (build-state.json and lock.json of both hosts), then |
| + tofu destroy: "Destroy complete! Resources: 10 destroyed." (instance, SG, bucket + 4 configs, IAM user + key + policy) |
| +verify 11:08:52Z: describe-instances i-0bd176d779f8d0c2f -> terminated; head-bucket carlos-r10w-fleet-640012953448 -> 404; |
| + iam get-user carlos-remote-host-r10w -> NoSuchEntity; SG carlos-r10w-box -> none; no live instance tagged purpose=rootfs-apps-r10 |
| +terminated ~11:08Z, 23.5 h before expires=2026-10-27T10:39Z |
| +6.3 workstation: the scratch directory (scratch.DSJi8X), the tofu state, secrets and builds under |
| + /home/paulca/.cache/tmp/claude-1001/r10w-20261026T1039 removed after this record was written |
| +residue: fleet r10w and detached box-1 in the dev registry (no delete verb); app witness in trash until 2026-11-25; |
| + sophie's ACME certificates for the two hosts; noncurrent versions of the removed dev-bucket keys (versioned bucket); |
| + SSM command history (no secrets) |
| +``` |
| + |
| ## Summary to fill in |
| | Item | Value | |
| | --- | --- | |
| -| systemd version | | |
| -| kernel | | |
| -| Fallback 1: symlinked `RootImage=` followed? (or the per-start drop-in used) | | |
| -| Fallback 2: `ProtectControlGroups=strict` honoured? | | |
| -| Carry-forward: kernel mount of a `WriteSquashfs` image | | |
| -| Carry-forward: 4 KiB padding mounts | | |
| -| Carry-forward: `unsquashfs` matches (`TestSquashfsMatchesUnsquashfs` or the listing) | | |
| -| Carry-forward: ship-time normalisation seen on the box | | |
| -| Carry-forward: 01777 OCI root forced to 0755 and fine | | |
| -| `mounts-allowlisted`, `cgroup-strict`, `mdwe`, `cpu-limits`, `io-weight` real lines | | |
| -| Binary probe `mdwe` and `box-addr`; `/ready` 204 | | |
| -| `/home`, `/root`, `/run/user` mountinfo lines | | |
| -| `/opt/carlos/carlos` regular file | | |
| -| No `PrivateUsers=`; `realRootLaunchOwned` passes | | |
| -| `..` after a symlink | | |
| -| `ControlGroup` empty only after cgroup removal | | |
| -| Slice deny reaches running children; resolver allow untouched; allow-beats-deny | | |
| -| RunAgent wiring: C04 before the record, admitted after | | |
| -| Refusals C01, C02 (two shapes), C05, 403 digest | | |
| -| JIT opt-in | | |
| -| Anything not run, and why | | |
| +| systemd version | 257 (257.13-1~deb13u1) | |
| +| kernel | 6.12.96+deb13-cloud-arm64 | |
| +| Fallback 1: symlinked `RootImage=` followed? (or the per-start drop-in used) | Followed by the probe unit (`root-image ok`); never tried for an instance (F3) | |
| +| Fallback 2: `ProtectControlGroups=strict` honoured? | Yes (`cgroup-strict ok`; fails with `=yes`, 5.3) | |
| +| Carry-forward: kernel mount of a `WriteSquashfs` image | Pass | |
| +| Carry-forward: 4 KiB padding mounts | Pass (14004224, mod 4096 = 0) | |
| +| Carry-forward: `unsquashfs` matches (`TestSquashfsMatchesUnsquashfs` or the listing) | Pass (test PASS on the box) | |
| +| Carry-forward: ship-time normalisation seen on the box | Pass (0/0, setid 0755, `/` 0755, secret 0604) | |
| +| Carry-forward: 01777 OCI root forced to 0755 and fine | Image half pass; running half not run (F3) | |
| +| `mounts-allowlisted`, `cgroup-strict`, `mdwe`, `cpu-limits`, `io-weight` real lines | ok, ok, ok, ok, unverified (no io.cost or BFQ); ok lines carry no detail | |
| +| Binary probe `mdwe` and `box-addr`; `/ready` 204 | ok, ok; `/ready` not readable by curl (O1), report `ready: true` | |
| +| `/home`, `/root`, `/run/user` mountinfo lines | Not run (F3) | |
| +| `/opt/carlos/carlos` regular file | Pass | |
| +| No `PrivateUsers=`; `realRootLaunchOwned` passes | No `PrivateUsers=` in any template: pass; `realRootLaunchOwned` not run (F3) | |
| +| `..` after a symlink | Ship side pass (w4 accepted, w5 refused); box side not run (F3) | |
| +| `ControlGroup` empty only after cgroup removal | Pass on a stand-in unit (25 present/set, then 35 gone/empty, never empty with the dir present); not on the rootfs unit (F3) | |
| +| Slice deny reaches running children; resolver allow untouched; allow-beats-deny | Pass on a stand-in process in the witness's slice: connected, then denied within one refresh with the same PID; allow unchanged; allow beats deny. Denials are TCP timeouts, not EPERM (O4) | |
| +| RunAgent wiring: C04 before the record, admitted after | Fail: the wake refused with F3's text, never C04; admission not run | |
| +| Refusals C01, C02 (two shapes), C05, 403 digest | C01 fail (F2: the flat row exec'd the image); C02 probe half pass (cgroup-strict fail, rootfs-probe-unit fail), refusal fail (F3); C05 and 403 not run (F3) | |
| +| JIT opt-in | Not run (F3); w2's manifest carries `jit: true` | |
| +| Anything not run, and why | 4.2, 4.3, 4.4, 4.6, 5.2, 5.4, 5.6 box half, 5.8 box half, the running halves of 4.5, 4.7 and 4.8: all blocked by F3, because no rootfs instance can start. 4.6 also has no worker start path in Plan 2. | |