Skip to content

Add [isolation] config section for job isolation layers (#99 PR 5/6)#105

Merged
powderluv merged 1 commit intomainfrom
users/powderluv/isolation-pr5-config
Apr 18, 2026
Merged

Add [isolation] config section for job isolation layers (#99 PR 5/6)#105
powderluv merged 1 commit intomainfrom
users/powderluv/isolation-pr5-config

Conversation

@powderluv
Copy link
Copy Markdown
Collaborator

Summary

Fifth PR in the isolation series (#99). Adds configurable [isolation] section to spur.conf.

Config

[isolation]
setuid = true       # Run jobs as submitting user
namespaces = true   # PID + mount namespace isolation
seccomp = true      # syscall whitelist
landlock = true     # filesystem access control

All enabled by default. Operators can disable specific layers for debugging or compatibility.

🤖 Generated with Claude Code

Adds configurable isolation settings so operators can enable/disable
each isolation layer independently:

```toml
[isolation]
setuid = true       # Run jobs as submitting user (requires root)
namespaces = true   # PID + mount namespace isolation
seccomp = true      # syscall whitelist (blocks ptrace, mount, bpf)
landlock = true     # filesystem access control (kernel 5.13+)
```

All layers default to enabled. Each degrades gracefully when the
kernel doesn't support it or spurd isn't running as root.

Closes: part of #99

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
powderluv added a commit that referenced this pull request Apr 18, 2026
The BPF syscall whitelist needs validation on production workloads
before enabling by default. Gate behind env var until the [isolation]
config section (PR #105) provides proper operator control.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
powderluv added a commit that referenced this pull request Apr 18, 2026
Landlock filesystem restrictions need validation with production
workloads. Gate behind env var until the [isolation] config section
(PR #105) provides proper operator control.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@powderluv powderluv merged commit d47c2d6 into main Apr 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant