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