I installed LXD 3.9 on my Debian Sid system (fully updated), via snap yesterday. Everything was working fine. I turned off my system for the night, no updates or anything.
I booted my system this morning, ran
lxd exec testing -- bash and ran
apt update. I got the following error:
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Temporary failure resolving 'security.ubuntu.com' Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease Temporary failure resolving 'archive.ubuntu.com' Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Temporary failure resolving 'archive.ubuntu.com' Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Temporary failure resolving 'archive.ubuntu.com'
Obviously, this means that there is an issue with DNS.
This would not work on any container. To attempt to debug it further, I attempted to create a fresh container to reproduce the problem, however I got:
➜ lxc launch ubuntu:18.04 Creating the container Error: Failed container creation: Get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: lookup cloud-images.ubuntu.com on [::1]:53: read udp [::1]:45913->[::1]:53: read: connection refused
(this command was run from the host).
Is this LXD that is making the problem?
snap is working fine.
snap install vscode worked.