Skip to content

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

Merged
giuseppe merged 1 commit intocontainers:mainfrom
giuseppe:revert-remove-tun-tap
Jan 13, 2025
Merged

Revert "cgroup: remove tun/tap from the default allow list"#1637
giuseppe merged 1 commit intocontainers:mainfrom
giuseppe:revert-remove-tun-tap

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 <gscrivan@redhat.com>
@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
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