in the meantime and several restarts later lxc is enables again but does not work
lxc list
Error: Get http://unix.socket/1.0: dial unix /var/snap/lxd/common/lxd/unix.socket: connect: resource temporarily unavailable
trying to follow the recommended snap refresh lxc --candidate
freezes at:
Start snap "lxd" (11437) services
on the problematic system I get
ls -l /etc/systemd/system | grep lxd
-rw-r--r-- 1 root root 227 Jul 25 14:26 snap-lxd-11353.mount
-rw-r--r-- 1 root root 227 Jul 26 21:12 snap-lxd-11381.mount
-rw-r--r-- 1 root root 227 Aug 1 06:01 snap-lxd-11437.mount
-rw-r--r-- 1 root root 396 Aug 1 06:02 snap.lxd.activate.service
-rw-r--r-- 1 root root 470 Aug 1 06:02 snap.lxd.daemon.service
-rw-r--r-- 1 root root 330 Aug 1 06:02 snap.lxd.daemon.unix.socket
can someone specify which files as per stephanes comment above are missing here? As I do not have a second system running lxd from the snap package I have nothing to compare this to
snap change 317
error: cannot find change with id "317"
would it be a way to remove the lxd snap an re-install it? I guess it won’t hurt to take a backup of
/var/snap/lxd/common/lxd/storage-pools/*
(where the actual data lives) beforehand?