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 ?
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 ?