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

Bug: Containerd.io 1.7.24-1 | unix opening TUN device file: operation not permitted #2606

Open
Phil57 opened this issue Nov 30, 2024 · 4 comments

Comments

@Phil57
Copy link

Phil57 commented Nov 30, 2024

Is this urgent?

Yes

Host OS

Ubuntu 24.04

CPU arch

x86_64

VPN service provider

AirVPN

What are you using to run the container

docker-compose

What is the version of Gluetun

3.39.1

What's the problem 🤔

Hello,

Following an update of containerd.io from version 1.7.23-1 to 1.7.24-1, Gluetun doesn't start anymore.
Downgrading to 1.7.23-1 fixes the issue.

Someone opened a bug report for containerd, but I don't know if meanwhile you can circumvent the issue or post a warning somewhere.
containerd/containerd#11078

Share your logs (at least 10 lines)

gluetun_proxy  | 2024-11-30T10:47:17+01:00 INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
gluetun_proxy  | 2024-11-30T10:47:17+01:00 INFO [routing] routing cleanup...
gluetun_proxy  | 2024-11-30T10:47:17+01:00 INFO [routing] default route found: interface eth0, gateway 172.20.0.1, assigned IP 172.20.0.2 and family v4
gluetun_proxy  | 2024-11-30T10:47:17+01:00 INFO [routing] deleting route for 0.0.0.0/0
gluetun_proxy  | 2024-11-30T10:47:17+01:00 ERROR creating tun device: unix opening TUN device file: operation not permitted

Share your configuration

No response

Copy link
Contributor

@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:

@dojoca
Copy link

dojoca commented Nov 30, 2024

Same problem here:
2024-11-30T20:07:06+08:00 ERROR creating tun device: unix opening TUN device file: operation not permitted

Seems to be related to a recent update - I installed containerd.io 1.7.24-1.

@dojoca
Copy link

dojoca commented Nov 30, 2024

Interim fix - I downgraded containerd.io to 1.7.23-1, it's resolved the issue.

sudo apt-get install containerd.io=1.7.23-1

@saltydk
Copy link

saltydk commented Nov 30, 2024

Or just mount /dev/net/tun into the container, that works fine with 1.7.24

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

No branches or pull requests

3 participants