[BUG] Counted configuration replies lack required carrier GRANT #10
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/launchd#10
Loading…
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?
Summary
Launchd creates every private configuration receiver with only RECV. A configured realm must return each client's original RECV endpoint through that receiver, but native invocation COMPLETE requires GRANT on the serving carrier for any capability-bearing result. Possession of the separate client source does not satisfy that carrier check. Existing pull fixtures omitted this native gate.
Reproduction
Run the configured-client scenario using Integration 04bff04f and its original catalog:
For a component reproduction, make the existing complete-record pull fixture enforce the Kernel's actual RECV/GRANT carrier check before accepting a capability result. The original maintained
every_frozen_record_and_original_receiver_reaches_only_the_mediatortest then fails. The production route code is unchanged for this red control.Expected and actual behavior
Counted client configuration must retain exactly RECV | GRANT on Launchd's private reply receiver for its required capability results. Readiness-only routes need only RECV, the mediator's configuration sender remains SEND-only, and transferred client endpoints remain RECV-only. The original receiver and setup authority must still be disposed and independently proven absent before seal publication, or retired after cancellation/failure. Kernel authority checks must remain unchanged.
Actual source creates only RECV at route setup and requires that same insufficient inventory before Provision. The first complete-record regression fails when the fixture checks real carrier rights. The native scenario stalls after its three inherited realm markers and a process exit with status 5, as retained in Integration issue 92. The source mismatch and host regression are confirmed; a corrected native run is required for complete causal closure.
Environment and identity
0b0788b5530ce7607097eee97babe22e71d8c1b9.4104b655b26d1dbf7d9590ba07848b4b8dae0cb6;invocation/server.rs::completerequires carrier GRANT for capability inputs.04bff04f4328676ba8205f7ac2b0df64213698a0, release x86_64, one CPU, original 120/45-second guest bounds.5bcf522c.Evidence and prior checks
Every one of the 119 failures in each run is the known policy-format issue: the older producer emits 14 fields while the consumer requires 16.
Admission, guarded preparation, private startup, configured clients, the pipeline descriptor script and ext4 quota all pass in both original runs. The selected Launchd
372ab70ea2ea1133a9bc3edb2cb621f9679b075dincludes the configuration-carrier GRANT correction; the earlier client stall is absent. This corroborates the existing scoped closure of Launchd issue 10 and Integration issue 92. The unexplained older same-source pipeline pass/failure in issue 91 remains open; two later passes do not establish its cause. Original markers and deadlines are unchanged, and no unchanged job was rerun.Both configured-client scenarios pass the admission, preparation and startup markers, then the original mediator process 35 exits with code 5 and the VM reaches its 45-second serial-progress deadline. The selected Launchd
0b0788b5530ce7607097eee97babe22e71d8c1b9predates the configuration-carrier GRANT correction and is the exact graph already reported in Launchd issue 10 and Integration issue 92. Loaderd already contains its separate counted grant-destination fix. This historical evidence does not reopen the later corrected source; its component and native acceptance remain tied to their signed identities.Native configured-client acceptance — 25 September 2026: the exact signed Integration 7a42fa26 graph passes the configured-client, preparation and startup VMs with all original markers, deadlines and cleanup gates. The configured witness seals two isolated realms, observes six successful byte-client exits across three realm instances, checks independent retirement, rejects stale client selectors and reuses a Launchd realm record with a new generation. This proves the native configure/seal/publish/mediated-I/O criterion; full Procd managed-row/final CPU reclamation, supervisor loss and resource ceilings remain separate requirements.
Launchd 372ab70e retains only the required result-carrier GRANT and preserves RECV-only client copies plus complete setup retirement. All six strict 497-test configurations and original CI179/180 pass. Loaderd 5bcf522c retains the counted grant destination; four strict 145-test configurations and original CI107/108 pass. The original red tests, failed native runs and admitted host TCG diagnostic remain preserved. Docs 6a1a9686 passes the full 2,655-page manual and 45 tests locally and in original CI1085/1086; four complete CI logs total 824,660 bytes and final warnings are zero.
The configuration carrier defect, counted grant defect and configured-client stall are resolved by this component and native evidence. The Exsh fixture report retains its pending release compiler/frame validation despite the three native passes. Complete Integration CI1801/1802 is still queued. Whole-fleet authority/source/effect/frame acceptance, final accounting/profiler observation, rebuilding the external Rust/LLVM/runtime toolchain inside EriX and both full EriX guest-build generations remain open.
Original prerequisite Integration CI1793/1794 each passes 490/491 scenarios; Rust and Markdown pass, and six complete logs total 27,432,406 bytes with zero warnings. CI1794 retains the ext4 quota timeout. CI1793 instead exposes a distinct one-shot replay QMP connection loss, recorded using the canonical bug template and phase label. No original workflow was rerun, and no deadline or authority check was relaxed.
Only the existing native-witness sub-item gains credit: 15.42% weighted progress, 413/873 sub-items. Whole acceptance remains 3.86%, 17/460 parents.
Signed configuration carrier correction — 25 September 2026: Launchd 372ab70e retains exactly RECV | GRANT only for counted-client result delivery. Readiness-only RECV, mediator SEND-only routes, RECV-only client copies, original authentication and complete setup disposal before seal/retirement remain required.
Docs 6a1a9686 documents the carrier/source distinction and its temporary setup lifetime. All 45 document tests, Markdown, template, link and unchanged-reference checks pass. The complete 2,655-page manual builds without final warnings, all 491,315 word bounds pass and three affected/adjacent pages are visually reviewed. Original CI1085/1086 is under observation.
Integration 7a42fa26 selects the two signed image sources. Both catalog policies, all 76 original signatures and complete dynamic closure pass. Helper, Rust, profiler and CI inputs remain byte-identical to their recorded validation; fresh formatting, source policy and Markdown pass. The corrected client VM is running from a fresh source-bound runner, followed by the older preparation/startup regressions. Original CI1801/1802 is queued. Launchd issue 10 and Integration issue 92 remain open pending native closure. Earlier failures and host counter evidence are preserved. No deadline or authority gate was relaxed, and these repairs add no canonical checklist credit.
The configured-client VM stalls after the same three inherited markers and a private process exit with status 5. Its original failure retains 109 artifacts and 56,130 serial bytes, zero image-warning candidates and no process-owner cleanup failure. Integration issue 92 preserves that observation. An admitted host TCG counter run against the identical guest disk reproduces the stall under the original 120/45-second bounds. Its complete capture contains 100,639 translations and 74,009 code groups. The top 100 groups cover 85.32% of the 65,912,963,324 translated-instruction upper bound; uniquely matching Kernel mapping-batch code accounts for 38.67% of that total. This is a performance investigation candidate, without a measured speedup, timing attribution or accepted native result. Shared code, addresses and process identity remain separate evidence questions.
Exact retained executable-region comparison with original symbol-bearing artifacts narrows the failure to Posixd configuration progress and its native exit; the exit block uniquely matches Posixd across all 68 packaged executables/shared objects. The source mismatch is confirmed independently: Launchd retains only RECV on its configuration receiver, while native COMPLETE requires carrier GRANT for capability-bearing client replies. Enforcing that actual gate in the maintained complete-record pull fixture fails the original implementation. Launchd issue 10 tracks the correction and original red control. The local correction retains exactly RECV | GRANT only for counted-client replies, preserves readiness-only RECV, mediator SEND-only routes and RECV-only client copies, and retains complete receiver disposal before seal/cancellation. Full component validation is running; corrected native client execution remains required.
Both original Docs CI1083/1084 pass, with 45 document tests and the 2,653-page manual. All four complete logs total 824,211 bytes; normal early-pass references converge to zero final warnings. Original Integration runs remain running or queued, without unchanged reruns. No canonical checklist credit is added: configured native clients, managed-row reuse, complete authority/frame closure, profiling improvements and both full guest-build requirements remain open.
Both older preparation-only and two-mediator startup VMs pass on this exact graph. The failed client run retains 109 artifacts and 56,130 serial bytes, zero image-warning candidates and acknowledged process-owner cleanup. An admitted host TCG profiler, using the exact unchanged guest disk, reproduces the stall with a complete 100,639-translation capture. Exact executable-region bytes match the original symbol-bearing artifacts and linker maps; code observations include Posixd's configuration progress refusal and native exit. Shared instruction bytes and reused addresses remain ambiguous; counters are not a process-level trace or elapsed-time measurement.
The updated actual-code pull fixture fails once with one failed test and no cleanup error. No unchanged CI was restarted, and no authority or deadline gate was relaxed.
Tracking
Native regression, Launchd feature work, and phase completion.
erikinkinen referenced this issue from erix/integration2026-09-25 11:50:26 +02:00
erikinkinen referenced this issue2026-09-25 11:50:30 +02:00
erikinkinen referenced this issue from erix/docs2026-09-25 12:00:35 +02:00
erikinkinen referenced this issue from erix/posixd2026-09-25 12:14:58 +02:00
erikinkinen referenced this issue from erix/integration2026-09-25 18:35:30 +02:00