Skip to content

fix(cs2): harden postinstall password generation#49

Merged
MarcStdt merged 1 commit into
masterfrom
fix/cs2-postinstall-password-generation
Jun 7, 2026
Merged

fix(cs2): harden postinstall password generation#49
MarcStdt merged 1 commit into
masterfrom
fix/cs2-postinstall-password-generation

Conversation

@MarcStdt

@MarcStdt MarcStdt commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make CS2 postinstall password generation portable and deterministic in length
  • avoid pipefail/SIGPIPE from tr | head causing silent install-5 failure

Validation

  • local postinstall smoke test creates a 50-char RCON password and writes server.cfg
  • go run ./scripts/validate-scrolls.go
  • git diff --check

Prod finding

Fresh CS2 deployment 80e5f9f7-598f-405c-b308-c97de67bc163 reached install-5 with the concrete script but failed with empty logs, consistent with shell pipefail abort during password generation.

DayZ remains skipped per current sweep.

@druid-infra

Copy link
Copy Markdown
Collaborator
Error: This repo is not allowlisted for Atlantis.

@MarcStdt MarcStdt merged commit 38fd50d into master Jun 7, 2026
1 check passed
@MarcStdt MarcStdt deleted the fix/cs2-postinstall-password-generation branch June 7, 2026 17:51
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.

2 participants