fix(daemon): print the validation detail when the secure endpoint cannot be created - #1446
fix(daemon): print the validation detail when the secure endpoint cannot be created#1446mlandolfi90 wants to merge 1 commit into
Conversation
…not be created The MCP-client path swallowed the reason: any refusal inside the ancestor DACL walk surfaced as a bare 'secure daemon endpoint could not be created', undiagnosable in the field. The worker path already prints cbm_daemon_ipc_validation_detail(); do the same here. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: mlandolfi90 <mlandolfi90@users.noreply.github.com>
|
Thanks for opening this — it has been seen, and it is queued. This note is automated, but it is not a brush-off: it exists so you know where your PR stands instead of having to guess from silence. Current review status: working through a backlog. What that means for this PR, concretely:
Things that will genuinely speed it up whenever review does happen:
If this fixes a bug, a reproduction we can run is worth more than a description of the symptom. Thanks for contributing, and sorry in advance for the wait. |
|
CI note: the only red is 🤖 Generated with Claude Code |
The MCP-client startup path swallows the reason for a refused endpoint:
Every refusal inside the ancestor DACL walk — owner mismatch, an untrusted grant, a failed repair — arrives as that one sentence.
cbm_daemon_ipc_validation_detail()has already recorded exactly which component failed and why, and the worker path a few hundred lines up already prints it for the identity check. This just does the same at the endpoint site.Concretely, this turns
into
Diagnosing the first form took a purpose-built instrumented binary. The second names the directory, the mask and the SID.
No behaviour change beyond the message; the detail buffer is a static already populated on this path.
🤖 Generated with Claude Code