$ sudo lxc-ls -f
lxc-ls: parse.c: lxc_file_for_each_line_mmap: 102 Failed to parse config: lxc.include = /usr/share/lxc/config/archlinux.common.conf
Failed to load config for snap1
lxc-ls: parse.c: lxc_file_for_each_line_mmap: 102 Failed to parse config: lxc.include = /usr/share/lxc/config/archlinux.common.conf
Failed to load config for snap2
lxc-ls: parse.c: lxc_file_for_each_line_mmap: 102 Failed to parse config: lxc.include = /usr/share/lxc/config/archlinux.common.conf
Failed to load config for snap3
That is an excerpt of a few, the rest show the same. I guess some paths changed or somesuch but not sure how to resolve?
I did a search with find with / as path for file archlinux.common.conf and it wasn’t found.
I also can’t create a new one either
sudo lxc-create -n test -t download -- --dist archlinux --release current --arch amd64
[sudo] password for vorlis:
The cached copy has expired, re-downloading...
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: test: lxccontainer.c: create_run_template: 1566 Failed to create container from template
Error creating container test
EDIT:
downgrading package lxc (1:3.0.0-1 => 1:2.1.1-1)
has returned functionality to normal. That will do it for now but what about the permanent fix?
Looks like you have lxc 3.0 installed without lxc-templates, it’s the lxc-templates package/project which provides those config files that lxc-ls is complaining about.
They definitely come with the archlinux package see here however I just did ls on the rollbacked working version and on the version 3 version and the contents change. The path still exists on 3 but the images are gone.
Contents of /usr/share/lxc/templates on version 3-
templates]$ ls
lxc-busybox lxc-download lxc-local lxc-oci