fix: gardener-run.sh hardcodes LOG_FILE to read-only $SCRIPT_DIR #210
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#210
Loading…
Add table
Add a link
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?
Problem
In gardener/gardener-run.sh line 48, the log file is hardcoded to the script directory:
When the disinto repo is bind-mounted read-only (./:/home/agent/disinto:ro), this fails:
All other agents use DISINTO_LOG_DIR which points to the writable data volume.
Proposed solution
Change line 48 from:
to:
DISINTO_LOG_DIR is already set by lib/env.sh and points to /home/agent/data/logs inside the container.
Affected files
Acceptance criteria