Skip to content

fix(images): preserve non-root access to the RDS CA bundle - #1005

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/989-ca-directory-permissions
Nov 9, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
fix/989-ca-directory-permissions

Conversation

@athvin

@athvin athvin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #1004

Repairs #989's failed dev/prod rollout: remote ADD --chmod=644 made the new /etc/ssl and /etc/ssl/rds directories mode 0644, so non-root Node failed before running migrations. The existing root-only import check could not detect this.

Both images now download the same checksum-pinned CA bundle and chmod only the file in a separate instruction. New build assertions run after USER: Node must start and read the bundle, and the API runtime must be able to read it.

Validation: reproduced the exact OpenSSL permission failure locally under uid 1001 with the pinned Node base; the fixed image passes the same check, with directories 0755 and bundle 0644. Local make check passed in full again after rebasing onto 0e731ca (1,015 tests). Frontend lint, formatting, types, authorization checks, units/coverage and build passed; the first functional pass hit one unchanged source-wizard timing race (#1007), and a complete functional rerun passed (569 passed, 139 skipped). No assertion or timeout was weakened.

The failed deployments rolled back before traffic cutover; the public site still returns HTTP 200. Production DSNs remain unchanged and #991 stays draft until these repaired images deploy.

Post-merge ledger

Closed by: agent · session Codex:01a1be1a-66a7-72f3-8e78-32c20c5e0da9 on Mac-28.lan · 2026-11-09T14:32:59.912590+00:00

Last verified: Codex:01a1be1a-66a7-72f3-8e78-32c20c5e0da9 on Mac.lan at 2026-11-09T06:07:24Z; post-merge watch ran from 05:18Z through 2026-11-09T06:07:24Z.

Specific to this change

@athvin
athvin force-pushed the fix/989-ca-directory-permissions branch from 43c919c to d109653 Compare November 9, 2026 04:19
@athvin athvin added the merge-bus eligible for the merge bus label Nov 9, 2026
@github-actions github-actions Bot mentioned this pull request Nov 9, 2026
@github-actions
github-actions Bot merged commit ab349d1 into main Nov 9, 2026
50 checks passed
@github-actions
github-actions Bot deleted the fix/989-ca-directory-permissions branch November 9, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-bus eligible for the merge bus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix non-root runtime access after adding the RDS CA bundle

2 participants