Commit 5e4bff6
committed
fix: systemd NAMESPACE crash - move sandbox dir to /opt/pennyclaw/sandbox
Root cause: PrivateTmp=true creates a private /tmp namespace, but
ReadWritePaths referenced /tmp/pennyclaw-sandbox which doesn't exist
inside that namespace. systemd fails at NAMESPACE step before the
process even starts (status=226/NAMESPACE).
Fix: Move sandbox working directory from /tmp/pennyclaw-sandbox to
/opt/pennyclaw/sandbox, which is already under the ReadWritePaths
prefix. This keeps PrivateTmp=true security hardening intact.1 parent 748eaaf commit 5e4bff6
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
603 | | - | |
| 603 | + | |
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
| 639 | + | |
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | | - | |
652 | | - | |
| 651 | + | |
| 652 | + | |
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| |||
0 commit comments