v0.3.0-4: rootless Podman improvements

- Add btrfs storage.conf for gitea-runner user
- Add gitea-runner-podman.service dependency to runner service
- Auto-allocate subuid/subgid ranges via usermod (min 524288)
- Add systemd-container dep for loginctl enable-linger
- Use sysusers_create_package in %pre for proper user creation
- Track /var/lib/gitea/runners dir in %files
- Use runuser instead of sudo in setup script
- Add After=systemd-logind.service to podman service
- Fix SELinux volume label (:Z -> :z) in config.yaml
This commit is contained in:
2026-04-06 00:33:13 +02:00
parent c9323b3f09
commit c741ce2aaf
6 changed files with 84 additions and 15 deletions

View File

@@ -18,4 +18,4 @@ chown gitea-runner:gitea-runner "$RUNNER_DIR"
systemctl enable --now gitea-runner-podman.service
cd "$RUNNER_DIR"
sudo -u gitea-runner gitea-act-runner register -c "$CONFIG"
runuser -u gitea-runner -- gitea-act-runner register -c "$CONFIG"