Skip to content

[1.2] libct: rm x/sys/execabs usage#4480

Merged
kolyshkin merged 1 commit intoopencontainers:release-1.2from
austinvazquez:cherry-pick-eb2ff52ace1775ad667ca900b2e57e7d698e3484-to-1.2
Oct 26, 2024
Merged

[1.2] libct: rm x/sys/execabs usage#4480
kolyshkin merged 1 commit intoopencontainers:release-1.2from
austinvazquez:cherry-pick-eb2ff52ace1775ad667ca900b2e57e7d698e3484-to-1.2

Conversation

@austinvazquez
Copy link
Copy Markdown
Contributor

Since Go 1.19, the same functionality is there in os/exec package. As we require go 1.22 now, there's no need to have this.

This basically reverts commit 9258eac ("libct/start: use execabs for newuidmap lookup").

(cherry picked from commit eb2ff52)

Since Go 1.19, the same functionality is there in os/exec package.
As we require go 1.22 now, there's no need to have this.

This basically reverts commit 9258eac ("libct/start: use execabs for
newuidmap lookup").

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit eb2ff52)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh! forgot we had it in this repo as well; I know I made a round to remove it from most places, but guess I forgot runc 🥹

LGTM, thanks!

@kolyshkin kolyshkin added this to the 1.2.1 milestone Oct 26, 2024
Copy link
Copy Markdown
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm; thanks!

@kolyshkin kolyshkin merged commit 989d4e4 into opencontainers:release-1.2 Oct 26, 2024
@austinvazquez austinvazquez deleted the cherry-pick-eb2ff52ace1775ad667ca900b2e57e7d698e3484-to-1.2 branch October 26, 2024 22:19
@rata rata mentioned this pull request Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants