Open muhammadf-apt opened 3 years ago
For those who got the same error and found this issue, I was able to fix it with #453 (updating the TMPDIR
).
I used systemctl edit buildkite-agent@.service
(it should be systemctl edit buildkite-agent.service
for those who only run one agent), and I've set the content to:
[Service]
Environment=TMPDIR=/var/lib/buildkite-agent/tmp
I restarted the agent and confirmed the environment was applied by checking /prod/{PID}/environ
and confirmed it fixed the issue.
Hello Support,
I am getting this error with my pipeline:
Running global environment hook /etc/buildkite-agent/hooks/environment /bin/bash: /tmp/buildkite-agent-bootstrap-hook-runner-275231789: Permission denied Error: Error setting up bootstrap: The global environment hook exited with status 126
I have followed this KBA https://github.com/buildkite/feedback/issues/453 to modify the TMPDIR to "/var/lib/buildkite-agent/tmp" to no avail:
Any hints how to resolve this?