Skip to content

fix(agent): harden Alpine OpenRC installation - #543

Merged
Sagit-chu merged 1 commit into
mainfrom
codex/fix-alpine-openrc
Aug 8, 2026
Merged

fix(agent): harden Alpine OpenRC installation#543
Sagit-chu merged 1 commit into
mainfrom
codex/fix-alpine-openrc

Conversation

@Sagit-chu

Copy link
Copy Markdown
Owner

Summary

  • force Alpine agent installs to use OpenRC rather than systemd
  • avoid systemctl calls while cleaning legacy GOST files on OpenRC hosts
  • install missing Alpine download dependencies (curl and CA certificates)
  • document the Alpine behavior and add a regression test

Root cause

The installer had OpenRC lifecycle support, but the legacy cleanup path still called systemctl unconditionally. Minimal Alpine installations can also lack curl, causing version resolution and binary download to fail after the Bash bootstrap.

Validation

  • bash -n install.sh
  • bash -n test-install-scripts-proxy.sh
  • bash test-install-scripts-proxy.sh
  • (cd go-backend && go test ./...)
  • Alpine 3.22 container dependency installation and OpenRC detection checks

@Sagit-chu
Sagit-chu merged commit a820c49 into main Aug 8, 2026
8 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