swarm_runner: stop reinstating rootless docker (matches the 2026-08-12 rootful cutover) #27

Merged
ben merged 1 commit from fix/swarm-runner-rootful-cutover into main 2026-11-17 12:18:37 +00:00
Owner

A --check --diff run of playbooks/swarm-runner.yml against elitebook-03 on main showed the role would undo the rootful cutover:

  • it would start the swarm user's rootless daemon
  • it would add DOCKER_HOST=unix:///run/user/1500/docker.sock back to ~swarm/.bashrc
  • it would add the same DOCKER_HOST back to forgejo-runner-swarm.service

This drops those tasks and the unit's Environment=DOCKER_HOST line. The live unit already has neither.

After the change, the same check shows only 4 changes:

  • the user-slice fence comment
  • the runner fence raised to 6G/8G (#20)
  • the stale set-property overrides removed
  • the prune cron from #26

The unit file itself doesn't change, so no runner restart is needed.

🤖 Generated with Claude Code

A `--check --diff` run of `playbooks/swarm-runner.yml` against elitebook-03 on main showed the role would undo the rootful cutover: - it would start the swarm user's rootless daemon - it would add `DOCKER_HOST=unix:///run/user/1500/docker.sock` back to `~swarm/.bashrc` - it would add the same `DOCKER_HOST` back to `forgejo-runner-swarm.service` This drops those tasks and the unit's `Environment=DOCKER_HOST` line. The live unit already has neither. After the change, the same check shows only 4 changes: - the user-slice fence comment - the runner fence raised to 6G/8G (#20) - the stale `set-property` overrides removed - the prune cron from #26 The unit file itself doesn't change, so no runner restart is needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Re-running the role started the swarm user's rootless daemon and put its
socket back into DOCKER_HOST in .bashrc and the runner unit, undoing the
cutover by hand on the live host. Those tasks are dropped (idss #2057, #2076).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ben merged commit b06a9ba523 into main 2026-11-17 12:18:37 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/matou-distributed-servers!27
No description provided.