[BUG] Zero-descriptor client provisioning cannot retire its receiver source #11
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#11
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
A private client with a valid empty descriptor table cannot commit startup. Receiver-source disposal occurs only during descriptor append, while commit always requires it to have happened. This creates an unintended requirement to include at least one descriptor. The defect is identified by source audit; no runtime reproduction is claimed.
Reproduction
Provision an original private mediator with one client, D=0 and A=0 (or directory-only authorities). Begin the exact client startup with descriptor_count=0, collect and retire the original native Begin caller, then CommitClientProvision with the SHA-256 digest of its complete 160-byte RCS1 header. There is no Append operation for an empty table.
Expected and actual behavior
Expected: the authenticated commit following original Begin caller retirement supplies the receiver-source handoff barrier. Drop and independently query absence of that original source before configuring startup, installing the guarded ingress and consuming the install grant. Disposal uncertainty must retain all original owners and block commit.
Actual source behavior: commit returns IPC_RESULT_DENIED because receiver_source_absent is false, and no valid empty-table operation can set it. Adding a dummy descriptor would widen the requested contract and is not an acceptable workaround.
Environment and identity
Evidence and prior checks
Failed DROP/QUERY retains the original source obligation, grant and sender; no dummy descriptor or authority is added.
Provisioning source retires the source only in append, while commit checks the flag unconditionally. Startup codecs and count admission permit zero descriptors. Author complete empty/directory-only start and seal controls plus DROP/QUERY failure controls retaining the original grant and sender. Tests, builds and CI observation are deferred by user instruction.
Tracking
Realm design, Procd review, external descriptor gate regression, Phase 6 completion. Implementation acceptance uses the testing waiver and must not be described as a passing test.
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