fix: permit verified local APT acquisition with native network denial checks
Rust development slice / linux (push) Failing after 6s

This commit is contained in:
2026-11-13 14:59:23 +01:00
parent e18fae0e8a
commit a5c2dce4fb
9 changed files with 210 additions and 13 deletions
+8 -1
View File
@@ -265,10 +265,17 @@ Both modes run the same pipeline:
probe. Never delete locks, kill owners or use simulation to prove locking.
A busy foreign lock vetoes the bootstrap. Release only this process's fd.
7. Fsync native-prechecks record, then sandbox-ready marker. Native APT uses
exact local archives, `--no-download --no-remove --no-install-recommends` and
exact local archives, `--no-remove --no-install-recommends` and
constant isolated config. No global APT hooks/sources/preferences; reviewed
dpkg global config is runtime-hash-bound in the signed action. Native foreign
lock wait remains bounded to 10 seconds.
**2026-11-13 native diagnosis:** `--no-download` prevented APT's local file
acquisition and emitted `**ERROR**` instead of the absolute archive filename
in protocol v3. The provider permits local acquisition of the presealed
archive; the AF_UNIX-only private worker still rejects actual IPv4/IPv6
socket creation. Both denials are now checked inside worker/hook/probe.
A permitted IP socket or unrelated resource error vetoes; this is not a
network-download allowance or acceptance/manifest/hash/path bypass.
8. Mandatory v3 pre-dpkg hook repeats signed/runtime/scope/sandbox checks,
validates the whole actual action set, actual hashes/control/payload,
status/baseline and final deadline; O_EXCL + file/directory fsync effect-armed