codex - 💡(How to fix) Fix macOS: Severe command latency caused by syspolicyd when Codex GUI is running [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17516Fetched 2026-04-12 13:27:14
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
labeled ×2commented ×1

Fix Action

Fix / Workaround

Relevant Logs

log stream --style compact --predicate 'process == "syspolicyd" || process == "trustd"' Produces repeated logs such as: syspolicyd: dispatch_mig_server returned 268435459 syspolicyd: <private> with PID XXXXX violates validation category policy syspolicyd: SecKeyVerifySignature syspolicyd: SecTrustEvaluateIfNecessary trustd: SecKeyVerifySignature These logs appear continuously with rapidly changing PIDs.

RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.409.20454 (1462)

What subscription do you have?

Chatgpt pro

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

After launching Codex GUI, execution of all non-system binaries becomes extremely slow or hangs completely.

System binaries (e.g., /bin/ls) may still work normally, but binaries outside system paths (e.g., /usr/local/bin, Homebrew tools) are significantly delayed or blocked.

What steps can reproduce the bug?

This behavior does not occur immediately after reboot, and is consistently triggered after opening Codex GUI.

What is the expected behavior?

No response

Additional information

Relevant Logs

log stream --style compact --predicate 'process == "syspolicyd" || process == "trustd"' Produces repeated logs such as: syspolicyd: dispatch_mig_server returned 268435459 syspolicyd: <private> with PID XXXXX violates validation category policy syspolicyd: SecKeyVerifySignature syspolicyd: SecTrustEvaluateIfNecessary trustd: SecKeyVerifySignature These logs appear continuously with rapidly changing PIDs.

<img width="1757" height="658" alt="Image" src="https://github.com/user-attachments/assets/bc0108f3-67ab-4ab9-b7cb-4c9ea60cd35a" / After launching Codex GUI, syspolicyd usage becomes extremely high and does not return to normal even after the Codex process is terminated.

extent analysis

TL;DR

Investigate and potentially disable or configure the system policy daemon (syspolicyd) to resolve the issue of slow or hanging non-system binaries after launching Codex GUI.

Guidance

  • Review the system logs for syspolicyd and trustd to understand the validation category policy violations and their impact on non-system binaries.
  • Investigate the SecKeyVerifySignature and SecTrustEvaluateIfNecessary functions to determine their role in the policy validation process.
  • Consider temporarily disabling syspolicyd or adjusting its configuration to test if it resolves the issue with non-system binaries.
  • Monitor system resource usage, particularly syspolicyd, after launching Codex GUI to confirm if it correlates with the slow or hanging binaries.

Notes

The provided logs suggest a potential issue with syspolicyd and its interaction with non-system binaries, but further investigation is needed to determine the root cause and appropriate fix.

Recommendation

Apply workaround: Temporarily disable or reconfigure syspolicyd to test if it resolves the issue, as the logs indicate a potential correlation between syspolicyd activity and the slow or hanging non-system binaries.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING