[BUG] Realm start and seal reject provisioned external stream descriptors #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/procd#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
The private realm start/seal client-set gate rejects valid counted external stream descriptors. Provisioning already permits internal and external descriptors, but the later aggregate comparison still requires the internal count alone. This is an availability regression identified by source audit; runtime reproduction has not been executed.
Reproduction
Select a realm with two clients, four internal descriptors and sixteen external sources, including one inherited stream per client. Provision each client with its two internal descriptors and one external Write descriptor through the authenticated private producer route, then request private mediator start and seal. The existing gate totals six startup descriptors and compares that with four internal descriptors.
The authored binding scenario selects this case. A smaller control uses one client with zero internal descriptors and three external streams. No frequency, clean-image result or actual error log is claimed because testing is deferred.
Expected and actual behavior
Expected: retain exact original clients, mediator/controller/realm generations, plan digest, provisioned phase and receiver-source disposal, while admitting the aggregate descriptor envelope from internal descriptors through internal plus external authority count. Only authenticated Launchd derives the exact stream subset from the frozen typed plan; directory bindings do not become descriptors.
Actual source behavior:
validate_realm_client_setreturnsIPC_RESULT_DENIEDwhenever the aggregate differs from the internal descriptor count, before submitting the original private start or seal operation. Directory-only and zero-authority plans retain their existing exact count.Environment and identity
Evidence and prior checks
Source comparison: provisioning ceiling accepts D+A, while client-set gate requires D. Existing external-only controls stop at client provisioning. Add end-to-end private start/seal admission coverage plus below-floor, above-ceiling and unchanged exact-zero-authority controls. Tests, builds and CI observation remain deferred by user instruction.
Tracking
Realm design, Procd review, Integration review, Phase 6 completion. No workaround or completed runtime acceptance is claimed.
erikinkinen referenced this issue from erix/posixd2026-09-29 06:58:38 +02:00
erikinkinen referenced this issue2026-09-29 06:58:38 +02:00
erikinkinen referenced this issue from erix/docs2026-09-29 06:58:40 +02:00
erikinkinen referenced this issue from erix/integration2026-09-29 06:58:43 +02:00