Skip to content

TUN/TAP interfaces broken #14432

@pdefreitas

Description

@pdefreitas

Describe the bug
runc 1.2.2 / containerd 2.0.0
containerd/containerd#11078

Ubuntu image is based on containerd://1.7.27-1, which has this issue fixed. The fix was backported to containerd 2.0.2.

To Reproduce
Steps to reproduce the behavior:

  1. Launch a priviledged container.
  2. run mknod /dev/net/tun
  3. It will fail: ERROR: Cannot open TUN/TAP dev /dev/net/tun: Operation not permitted (errno=1)

Expected behavior
mknod /dev/net/tun should work for privileged containers.

Screenshots
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions