# Pastebin BIrJMfkH zyga@t470:~/go/src/github.com/snapcore/snapd$ sudo ./bug.sh + snap install core lxd core already installed lxd already installed + snap switch --stable core "core" switched to the "stable" channel + snap switch --stable lxd "lxd" switched to the "stable" channel + snap refresh error: cannot perform the following tasks: - Run configure hook of "lxd" snap if present (run hook "configure": ----- DEBUG: security tag: snap.lxd.hook.configure DEBUG: executable: /usr/lib/snapd/snap-exec DEBUG: confinement: non-classic DEBUG: base snap: core DEBUG: ruid: 0, euid: 0, suid: 0 DEBUG: rgid: 0, egid: 0, sgid: 0 DEBUG: apparmor label on snap-confine is: /snap/core/4327/usr/lib/snapd/snap-confine DEBUG: apparmor mode is: enforce DEBUG: checking if the current process shares mount namespace with the init process DEBUG: re-associating is not required DEBUG: creating lock directory /run/snapd/lock (if missing) DEBUG: opening lock directory /run/snapd/lock DEBUG: opening lock file: /run/snapd/lock/.lock DEBUG: sanity timeout initialized and set for three seconds DEBUG: acquiring exclusive lock (scope (global)) DEBUG: sanity timeout reset and disabled DEBUG: ensuring that snap mount directory is shared DEBUG: unsharing snap namespace directory DEBUG: creating namespace group directory /run/snapd/ns DEBUG: namespace group directory does not require intialization DEBUG: releasing lock (scope: (global)) DEBUG: snap-update-ns executable: /snap/core/4327/usr/lib/snapd/snap-update-ns DEBUG: opened snap-update-ns executable as file descriptor 3 DEBUG: creating lock directory /run/snapd/lock (if missing) DEBUG: opening lock directory /run/snapd/lock DEBUG: opening lock file: /run/snapd/lock/lxd.lock DEBUG: sanity timeout initialized and set for three seconds DEBUG: acquiring exclusive lock (scope lxd) DEBUG: sanity timeout reset and disabled DEBUG: initializing mount namespace: lxd DEBUG: opening namespace group directory /run/snapd/ns DEBUG: found base snap filesystem device 7:40 DEBUG: sanity timeout initialized and set for three seconds DEBUG: receiving information about the state of the mount namespace DEBUG: ensuring that parent process is still alive DEBUG: joining the namespace that we are about to probe DEBUG: found root filesystem inside the mount namespace 7:40 DEBUG: sending information about the state of the mount namespace (keep) DEBUG: DEBUG: support process for mount namespace inspection is about to finish sanity timeout reset and disabled DEBUG: the mount namespace is up-to-date and can be reused DEBUG: attempting to re-associate the mount namespace with the namespace group lxd DEBUG: successfully re-associated the mount namespace with the namespace group lxd DEBUG: releasing resources associated with namespace group lxd DEBUG: moved process 14366 to freezer cgroup hierarchy for snap lxd DEBUG: releasing lock (scope: lxd) DEBUG: resetting PATH to values in sync with core snap DEBUG: snappy_udev_init DEBUG: creating user data directory: /root/snap/lxd/6492 DEBUG: requesting changing of apparmor profile on next exec to snap.lxd.hook.configure DEBUG: loading bpf program for security tag snap.lxd.hook.configure DEBUG: read 6024 bytes from /var/lib/snapd/seccomp/bpf//snap.lxd.hook.configure.bin DEBUG: raising privileges to load seccomp profile DEBUG: dropping privileges after loading seccomp profile DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec...) DEBUG: argv[1] = --hook=configure DEBUG: argv[2] = lxd error: cannot communicate with server: Post http://localhost/v2/snapctl: dial unix /run/snapd-snap.socket: connect: no such file or directory error: cannot communicate with server: Post http://localhost/v2/snapctl: dial unix /run/snapd-snap.socket: connect: no such file or directory