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

Revert "cgroup: remove tun/tap from the default allow list" #1637

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

giuseppe
Copy link
Member

This reverts commit 1e30424.

Copy what runc is already doing here: opencontainers/runc#4555

@giuseppe
Copy link
Member Author

ci failure addressed here: #1638

@giuseppe
Copy link
Member Author

@kolyshkin PTAL

@kwilczynski
Copy link
Member

/approve
/lgtm

Copy link
Collaborator

@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.

Apparently

  • it is expected that tun/tap is allowed by default;
  • some upper-level tools doesn't have easy ways to allow more devices, so they use --privileged or the like as an alternative, which is rather bad;
  • removing tun/tap broke some real runc users.

This reverts commit 1e30424.

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe giuseppe force-pushed the revert-remove-tun-tap branch from d06e428 to 179686b Compare January 13, 2025 09:08
@giuseppe giuseppe merged commit 283ffdf into containers:main Jan 13, 2025
47 checks passed
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