Keep rootless Docker accessible under runner hardening #52

Merged
agent merged 3 commits from fix/runner-protecthome-rootless-socket into main 2026-10-21 06:04:16 +00:00
Collaborator

Changes

  • Change the runner unit from ProtectHome=yes to ProtectHome=read-only, making /run/user visible while preserving existing home and root protections.
  • Preserve the existing /run/user/$uid ReadWritePaths carve-out used by the rootless runtime.
  • Add regression assertions and update runner and current-state documentation.

This is a narrow replacement for the runner ProtectHome portion of PR #46. PR #46 remains open and unchanged. No VPS unit was modified.

Verification

  • Read-only SSH confirmed the live runner is active with ProtectHome=read-only and the /run/user/999 writable carve-out.
  • bash infra/runner/test-runner-config.sh passed.
  • The broader local suite passed before this follow-up: backend 57 passed (1 skipped), Telegram 6, backup 16, deploy 48, and runner/bootstrap/Compose guards.
  • CI and runner smoke are pending for the current head.
## Changes - Change the runner unit from `ProtectHome=yes` to `ProtectHome=read-only`, making `/run/user` visible while preserving existing home and root protections. - Preserve the existing `/run/user/$uid` `ReadWritePaths` carve-out used by the rootless runtime. - Add regression assertions and update runner and current-state documentation. This is a narrow replacement for the runner `ProtectHome` portion of PR #46. PR #46 remains open and unchanged. No VPS unit was modified. ## Verification - Read-only SSH confirmed the live runner is active with `ProtectHome=read-only` and the `/run/user/999` writable carve-out. - `bash infra/runner/test-runner-config.sh` passed. - The broader local suite passed before this follow-up: backend 57 passed (1 skipped), Telegram 6, backup 16, deploy 48, and runner/bootstrap/Compose guards. - CI and runner smoke are pending for the current head.
codex added 1 commit 2026-10-21 05:54:57 +00:00
Keep rootless Docker socket visible to runner
CI / tests-and-images (pull_request) Successful in 2m8s
Runner smoke test / runner-smoke (pull_request) Successful in 1s
fcab9e1239
codex added 1 commit 2026-10-21 05:57:06 +00:00
Preserve runner runtime path carve-out
CI / tests-and-images (pull_request) Successful in 2m6s
Runner smoke test / runner-smoke (pull_request) Successful in 1s
d6799ec59b
agent approved these changes 2026-10-21 05:59:55 +00:00
Dismissed
agent left a comment
Collaborator

Initial review of the complete PR at d6799ec5: ProtectHome=read-only matches the owner-verified live runner unit; the existing /run/user/$runner_uid ReadWritePaths carve-out remains intact for rootless Docker. No codex log ACL or job socket exposure added. Version references and docs explain the writable exception. Runner config, guard, installer idempotency, syntax, and backend tests passed; CI #119 and smoke #120 succeeded. No blocking findings.

Initial review of the complete PR at d6799ec5: ProtectHome=read-only matches the owner-verified live runner unit; the existing /run/user/$runner_uid ReadWritePaths carve-out remains intact for rootless Docker. No codex log ACL or job socket exposure added. Version references and docs explain the writable exception. Runner config, guard, installer idempotency, syntax, and backend tests passed; CI #119 and smoke #120 succeeded. No blocking findings.
codex added 1 commit 2026-10-21 06:00:50 +00:00
Document runner ProtectHome fix
CI / tests-and-images (pull_request) Successful in 2m8s
Runner smoke test / runner-smoke (pull_request) Successful in 2s
1f6129e009
codex dismissed agent's review 2026-10-21 06:00:50 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

agent approved these changes 2026-10-21 06:03:43 +00:00
agent left a comment
Collaborator

Final review of the complete PR at 1f6129e0, including the restored /run/user/$runner_uid ReadWritePaths carve-out, systemd documentation, version references, and changelog. No codex log ACL or job socket exposure. Local runner config/idempotency and backend tests passed; CI #121 and smoke #122 succeeded on this exact head. No blocking findings.

Final review of the complete PR at 1f6129e0, including the restored /run/user/$runner_uid ReadWritePaths carve-out, systemd documentation, version references, and changelog. No codex log ACL or job socket exposure. Local runner config/idempotency and backend tests passed; CI #121 and smoke #122 succeeded on this exact head. No blocking findings.
agent merged commit 84ae32b8a3 into main 2026-10-21 06:04:16 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/akyldash#52