Privileged container network issue.

vrlm

New Member
Jan 19, 2025
1
0
1
Does anyone knows why privileged lxc container might not be able to have network connectivity?

I did two identical containers with vanilla default settings. The ONLY difference between two containers, is the fact that one of them is privileged and another one is not.

Privileged container can not resolve any network related requests. Running apt update I get this response

root@lxc-jellyfin:/# apt update
Ign:1 http://archive.ubuntu.com/ubuntu oracular InRelease
Ign:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease
Ign:3 http://archive.ubuntu.com/ubuntu oracular-security InRelease
Ign:1 http://archive.ubuntu.com/ubuntu oracular InRelease
Ign:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease
Ign:3 http://archive.ubuntu.com/ubuntu oracular-security InRelease
Ign:1 http://archive.ubuntu.com/ubuntu oracular InRelease
Ign:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease
Ign:3 http://archive.ubuntu.com/ubuntu oracular-security InRelease
Err:1 http://archive.ubuntu.com/ubuntu oracular InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu oracular-security InRelease
Temporary failure resolving 'archive.ubuntu.com'
All packages are up to date.
Warning: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oracular/InRelease Temporary failure resolving 'archive.ubuntu.com'
Warning: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oracular-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
Warning: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oracular-security/InRelease Temporary failure resolving 'archive.ubuntu.com'
Warning: Some index files failed to download. They have been ignored, or old ones used instead.
root@lxc-jellyfin:/#




I have not fiddled with any networks settings. I even replicated that issues by continuously deleting container and reinstalling it. Each time privileged container have connectivity issues and unprivileged works totally fine.

Has anybody encountered that issue or have an idea what could be the problem ?
 
Show ip a output for container.
Is it only a DNS issue or does it have no NW connection at all? Have you tried pinging using numeric IP address only?

The ONLY difference between two containers
Have you checked for a NW conflict, same MAC addresses etc.?

If you show the pct config <CTID> output of both LXCs - maybe someone can help you.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!