carlos / platform Public

census: re-pin internal/instanceexec after the mountinfo field-count fix

make census-propose NAME=rootfs-root-image with the same claim. The
parseMountinfo fix moves only the internal/instanceexec envelope
fingerprint (the @coverage line). The rootIsImage row, the claim and the
seal (eedd10a4) are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 039dad156a7d4848fe922613ced6718f4237c71f parent a7e2e34
1 file changed, +1 −1
  • internal/provision/testdata/plan14-root-reads-rootfs-root-image.tsv +1 −1

CI passed — run details

diff --git a/internal/provision/testdata/plan14-root-reads-rootfs-root-image.tsv b/internal/provision/testdata/plan14-root-reads-rootfs-root-image.tsv
index e5caaa8a1..cf0262a45 100644
--- a/internal/provision/testdata/plan14-root-reads-rootfs-root-image.tsv
+++ b/internal/provision/testdata/plan14-root-reads-rootfs-root-image.tsv
@@ -2,4 +2,4 @@
# 1 body, 0 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
@legacy 2949b1ed103eca1dc2d43f35144653a4bf6da88a05ddaa1593a282ec0d60170f internal/instanceexec/probe_rootfs.go rootIsImage legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the rootfs probe (/opt/carlos/carlos instance-probe --rootfs, carlos-instance-rootfs-probe.service, started by instance control; user carlos inside the probe image's namespace; no tenant code runs there);basis=root-input (J4): new (rootfs Plan 2 Task 7): the root-image line: the mount at / is a squashfs on a loop device, and Lstat of the marker root wrote into the probe image is a regular file; no root process runs it; decides nothing for root;rev3=census-ruling-rootfs-root-image;basis=body only: the same one read (Lstat of the probe marker); the mountinfo verdict now judges the root mount by its device (MAJ:MIN must be the loop major 7, which parseMountinfo now parses and refuses when malformed), squashfs and per-mount ro, and accepts only the sources /dev/loopN or /proc/self/fd/N (systemd 257 mounts RootImage= through the loop fd) where it took any /dev/loop prefix; a device-mapper root is refused; no read added, nothing a tenant names is opened file:Lstat@643 15d3fe1256801ee8ce04d1859e3db35422e4b979ecd85c8316f54d43be6183eb
internal/instanceexec/probe_rootfs.go rootIsImage legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the rootfs probe (/opt/carlos/carlos instance-probe --rootfs, carlos-instance-rootfs-probe.service, started by instance control; user carlos inside the probe image's namespace; no tenant code runs there);basis=root-input (J4): new (rootfs Plan 2 Task 7): the root-image line: the mount at / is a squashfs on a loop device, and Lstat of the marker root wrote into the probe image is a regular file; no root process runs it; decides nothing for root;rev3=census-ruling-rootfs-root-image;basis=body only: the same one read (Lstat of the probe marker); the mountinfo verdict now judges the root mount by its device (MAJ:MIN must be the loop major 7, which parseMountinfo now parses and refuses when malformed), squashfs and per-mount ro, and accepts only the sources /dev/loopN or /proc/self/fd/N (systemd 257 mounts RootImage= through the loop fd) where it took any /dev/loop prefix; a device-mapper root is refused; no read added, nothing a tenant names is opened file:Lstat@643 15d3fe1256801ee8ce04d1859e3db35422e4b979ecd85c8316f54d43be6183eb
-@coverage internal/instanceexec aa3f65008ba687732396ef719ae6476904f899984098c979c0dba2f96858774c
+@coverage internal/instanceexec 6719ed2608dd3532961ee994795d4764ee0aea49df58518170287fc139753e67