fix: make runner egress proxy logs writable after Squid drops privileges #575
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/infrastructure#575
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Flux deployed the runner egress proxy from commit
2896a78, but both replicas restart after Squid parses the config and initializes networking. Live logs show theproxyeffective user refusingaccess_log stdio:/dev/stdoutandcache_log /dev/stderrbecause those parent paths are not writable.Use an init container to create log-path symlinks inside the writable
/var/log/squidemptyDir, then point Squid at those paths. Preserve Kubernetes stdout/stderr visibility and the existing allowlist. Remove thevia offsetting that Squid warns violates HTTP requirements.Acceptance: both replicas become Ready, startup logs are clean, and allowed CONNECT requests remain visible through
kubectl logs.The first correction created the log symlinks, but the new ReplicaSet still failed Squid’s parent-directory safety check because the mounted
/var/log/squiddirectory remained root-owned. The next correction assigns that directory to the image’s existingproxyaccount before Squid starts. This is the same effective-user log-path defect, not a new network or proxy-config failure.