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: Ubuntu Containerd.io v 1.7.24-1 not compatible - #2641

Open
timfoley66 opened this issue Jan 4, 2025 · 2 comments
Open

Bug: Ubuntu Containerd.io v 1.7.24-1 not compatible - #2641

timfoley66 opened this issue Jan 4, 2025 · 2 comments

Comments

@timfoley66
Copy link

timfoley66 commented Jan 4, 2025

Is this urgent?

No

Host OS

Ubuntu Jammy

CPU arch

x86_64

VPN service provider

Private Internet Access

What are you using to run the container

Portainer

What is the version of Gluetun

Running version latest built on 2024-12-27T20:18:46.989Z (commit 61b053f)

What's the problem 🤔

When running latest containerd.io (1.7.24-1), tun device is not available. Downgrade to 1.7.23-1 and gluetun will work

Share your logs (at least 10 lines)

025-01-04T14:02:01Z INFO [routing] default route found: interface eth0, gateway 10.1.0.1, assigned IP 10.1.0.3 and family v4

2025-01-04T14:02:01Z DEBUG [netlink] ip -4 rule list

2025-01-04T14:02:01Z DEBUG [netlink] ip -6 rule list

2025-01-04T14:02:01Z DEBUG [netlink] ip -f 0 rule add from 10.1.0.3/32 lookup 200 pref 100

2025-01-04T14:02:01Z INFO [routing] adding route for 0.0.0.0/0

2025-01-04T14:02:01Z DEBUG [routing] ip route replace 0.0.0.0/0 via 10.1.0.1 dev eth0 table 200

2025-01-04T14:02:01Z INFO [firewall] setting allowed subnets...

2025-01-04T14:02:01Z INFO [routing] default route found: interface eth0, gateway 10.1.0.1, assigned IP 10.1.0.3 and family v4

2025-01-04T14:02:01Z DEBUG [netlink] ip -4 rule list

2025-01-04T14:02:01Z DEBUG [netlink] ip -6 rule list

2025-01-04T14:02:01Z DEBUG [netlink] ip -f 0 rule add to 10.1.0.0/24 lookup 254 pref 98

2025-01-04T14:02:01Z INFO [routing] routing cleanup...

2025-01-04T14:02:01Z INFO [routing] default route found: interface eth0, gateway 10.1.0.1, assigned IP 10.1.0.3 and family v4

2025-01-04T14:02:01Z INFO [routing] deleting route for 0.0.0.0/0

2025-01-04T14:02:01Z DEBUG [routing] ip route delete 0.0.0.0/0 via 10.1.0.1 dev eth0 table 200

2025-01-04T14:02:01Z DEBUG [netlink] ip -4 rule list

2025-01-04T14:02:01Z DEBUG [netlink] ip -6 rule list

2025-01-04T14:02:01Z DEBUG [netlink] ip -f 0 rule del from 10.1.0.3/32 lookup 200 pref 100

2025-01-04T14:02:01Z ERROR checking TUN device: TUN device is not available: open /dev/net/tun: operation not permitted (see the Wiki errors/tun page)

2025-01-04T14:02:01Z INFO Shutdown successful

Share your configuration

No response

Copy link
Contributor

github-actions bot commented Jan 4, 2025

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

@GrouperGuru
Copy link

GrouperGuru commented Jan 4, 2025

@timfoley66 I had the same issue, but found the following error:

2025-01-04T17:28:59Z ERROR creating tun device: unix opening TUN device file: operation not permitted (did you specify --device /dev/net/tun to your container command?)

I simply added the following to my docker-compose.yaml, but the same can be done via dockerfile if needed:

devices: - /dev/net/tun:/dev/net/tun

I referred to this previous bug:
#2243

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

2 participants