fix: revert switch from lxc-attach to nsenter #1317

Merged
mfenniak merged 1 commit from mfenniak/forgejo-runner:revert-nsenter into main 2026-01-28 18:05:49 +00:00
Owner

Replacing lxc-attach with nsenter continues to cause problems, currently #1341, but previously #1326 and #1336.

As we have an upstream fix in https://github.com/lxc/lxc/pull/4633, I don't think I can justify any further effort in fixing the nsenter behaviour. This PR reverts the change and restores the 100 MiB in-memory buffer -- that buffer can & should be removed when 4633 is broadly available.

All tests added in #1326 and #1336 are retained.

  • bug fixes
    • PR: fix: revert switch from lxc-attach to nsenter
Replacing `lxc-attach` with `nsenter` continues to cause problems, currently #1341, but previously #1326 and #1336. As we have an upstream fix in https://github.com/lxc/lxc/pull/4633, I don't think I can justify any further effort in fixing the `nsenter` behaviour. This PR reverts the change and restores the 100 MiB in-memory buffer -- that buffer can & should be removed when 4633 is broadly available. All tests added in #1326 and #1336 are retained. <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - bug fixes - [PR](https://code.forgejo.org/forgejo/runner/pulls/1317): <!--number 1317 --><!--line 0 --><!--description Zml4OiByZXZlcnQgc3dpdGNoIGZyb20gbHhjLWF0dGFjaCB0byBuc2VudGVy-->fix: revert switch from lxc-attach to nsenter<!--description--> <!--end release-notes-assistant-->
mfenniak force-pushed revert-nsenter from 8778e043fb to 81ebffdce4
All checks were successful
issue-labels / release-notes (pull_request_target) Successful in 4s
2026-01-28 17:07:01 +00:00
Compare
mfenniak changed title from WIP: Revert using nsenter rather than lxc-attach [skip ci] to fix: revert switch from lxc-attach to nsenter 2026-01-28 17:13:49 +00:00
mfenniak force-pushed revert-nsenter from 81ebffdce4
All checks were successful
issue-labels / release-notes (pull_request_target) Successful in 4s
to f05f6acfff
All checks were successful
checks / validate pre-commit-hooks file (pull_request) Successful in 37s
checks / validate mocks (pull_request) Successful in 42s
checks / Build Forgejo Runner (pull_request) Successful in 43s
checks / runner exec tests (pull_request) Successful in 43s
checks / Build unsupported platforms (pull_request) Successful in 56s
checks / integration tests (docker-latest) (pull_request) Successful in 9m12s
checks / integration tests (docker-stable) (pull_request) Successful in 9m8s
cascade / forgejo (pull_request_target) Has been skipped
cascade / end-to-end (pull_request_target) Has been skipped
cascade / debug (pull_request_target) Has been skipped
issue-labels / release-notes (pull_request_target) Successful in 8s
2026-01-28 17:14:53 +00:00
Compare
aahlenst approved these changes 2026-01-28 17:15:56 +00:00
aahlenst left a comment
Member

Thank you for your efforts.

Thank you for your efforts.
Contributor

cascading-pr updated at actions/setup-forgejo#866

cascading-pr updated at https://code.forgejo.org/actions/setup-forgejo/pulls/866
mfenniak deleted branch revert-nsenter 2026-01-28 18:05:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo/runner!1317
No description provided.