Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makes ICMP works under fakeroot #23411

Closed
wants to merge 1 commit into from

Conversation

comicfans
Copy link
Contributor

network namespace reset /proc/sys/net/ipv4/ping_group_range to default value 1 0, which can't map to valid gid, prevent IPPPROTO_ICMP to work. fix this by written valid gid 0 0, only possible for fakeroot. podman has similar process https://github.com/containers/common/blob/ae4a61e1b2e0af84a668f87f7622d86ebc418cba/pkg/config/containers.conf#L80

detail information here #23275

network namespace reset /proc/sys/net/ipv4/ping_group_range
to default value 1 0, which can't map to valid gid, prevent
IPPPROTO_ICMP to work. fix this by written valid gid 0 0,
only possible for fakeroot. podman has similar process
https://github.com/containers/common/blob/ae4a61e1b2e0af84a668f87f7622d86ebc418cba/pkg/config/containers.conf#L80
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Aug 23, 2024
@zhengwei143 zhengwei143 requested a review from tjgq August 23, 2024 15:27
@iancha1992 iancha1992 added the team-Local-Exec Issues and PRs for the Execution (Local) team label Aug 23, 2024
@tjgq
Copy link
Contributor

tjgq commented Aug 26, 2024

Importing.

@fmeum
Copy link
Collaborator

fmeum commented Aug 26, 2024

@bazel-io fork 7.4.0

@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Aug 27, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Aug 27, 2024
See discussion in bazelbuild#23275.

Fixes bazelbuild#23275.

Fixes bazelbuild#23411.

PiperOrigin-RevId: 667906233
Change-Id: Id6dbaeca015297d1c70339f1e2ccdf2db20e0de7
github-merge-queue bot pushed a commit that referenced this pull request Aug 27, 2024
See discussion in #23275.

Fixes #23275.

Fixes #23411.

PiperOrigin-RevId: 667906233
Change-Id: Id6dbaeca015297d1c70339f1e2ccdf2db20e0de7

Commit
e88a7d9

Co-authored-by: xinyu.wang <[email protected]>
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.4.0rc1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Local-Exec Issues and PRs for the Execution (Local) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants