fix: PATH modifications are lost in LXC executions #1326
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/runner!1326
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mfenniak/forgejo-runner:fix-lxc-PATH-regression"
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?
Regression in #1287 --
--preserve-env=PATHwas removed from thesudocommand thoughtlessly, where this is required assudorewrites this env variable if not explicitly whitelisted.Incorrect error output "unexpected error handling command output: %!w(*fs.PathError=&{read /dev/ptmx 5})" is also suppressed in this PR, which was added in #1287 but not correctly identified as still a typical exit path for the
io.Copyloop.Fixes #1324
PATHmodifications are lost in LXC executionsa974bc3c26da15db8ef3cascading-pr updated at actions/setup-forgejo#851