DashboardopencodePTY process-group termination

PTY process-group termination

Category: gotcha
Confidence: 1.00
ID: 01a08278-58e5-7804-a6b6-92878c1ed3f2
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 1RrS1SJqju8uNiFRa
Created: 2026-09-08 02:49:59
Updated: 2026-09-08 19:22:00

Content

Trap: TERM-to-KILL on direct PTY process groups looks like complete descendant containment because it handles ordinary children, but setsid() and daemonization can escape. Fix: bound cleanup, wait for tracked groups to disappear, and state that deliberate escape is outside the accepted byk trust model. Never describe this PTY as cgroup-contained or a general sandbox.

Move to: