Snapped LXD has stopped working - aa-exec: Permission denied

Can you please attach:

journalctl -u snapd.service

-- Logs begin at Wed 2017-10-04 14:43:54 BST, end at Thu 2017-10-05 13:42:04 BST. --
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH systemd[1]: Starting Snappy daemon...
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.012780 helpers.go:99: snap epoch cannot be empty
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.012798 helpers.go:99: snap epoch cannot be empty
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.012891 helpers.go:99: snap epoch cannot be empty
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013041 helpers.go:99: snap epoch cannot be empty
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013102 helpers.go:99: snap "gnome-ring" has bad plugs or slots: dbus-dring (unknown interface)
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013178 helpers.go:99: snap epoch cannot be empty
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013181 helpers.go:99: snap epoch cannot be empty
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013768 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013774 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013778 helpers.go:206: cannot connect plug "opengl" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013781 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013785 helpers.go:206: cannot connect plug "home" from snap "lxd", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013788 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013794 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013797 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013801 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013804 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013807 helpers.go:206: cannot connect plug to slot "browser-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013810 helpers.go:206: cannot connect plug "pulseaudio" from snap "gpodder", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013813 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013816 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013819 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013823 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013826 helpers.go:206: cannot connect plug to slot "firewall-control" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013829 helpers.go:206: cannot connect plug "gsettings" from snap "gimp", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013832 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013835 helpers.go:206: cannot connect plug "unity7" from snap "gpodder", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013841 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013845 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013849 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013853 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013856 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013859 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013863 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013867 helpers.go:206: cannot connect plug to slot "browser-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013870 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013874 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013877 helpers.go:206: cannot connect plug to slot "process-control" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013880 helpers.go:206: cannot connect plug to slot "browser-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013883 helpers.go:206: cannot connect plug "core-support-plug" from snap "core", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013887 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013890 helpers.go:206: cannot connect plug "home" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013893 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013897 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013900 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013903 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013907 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013910 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013913 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013916 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013919 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013922 helpers.go:206: cannot connect plug to slot "screen-inhibit-control" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013925 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013928 helpers.go:206: cannot connect plug "home" from snap "gimp", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013932 helpers.go:206: cannot connect plug "network-bind" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013935 helpers.go:206: cannot connect plug "unity7" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013938 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013941 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013944 helpers.go:206: cannot connect plug to slot "optical-drive" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013949 helpers.go:206: cannot connect plug to slot "browser-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013953 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013956 helpers.go:206: cannot connect plug "gsettings" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013959 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013962 helpers.go:206: cannot connect plug to slot "lxd-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013966 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013974 helpers.go:206: cannot connect plug to slot "docker-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013977 helpers.go:206: cannot connect plug "network" from snap "gradio", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013980 helpers.go:206: cannot connect plug "unity7" from snap "gradio", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013983 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013986 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013990 helpers.go:206: cannot connect plug "browser-support" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013993 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013996 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.013999 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014002 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014007 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014010 helpers.go:206: cannot connect plug "home" from snap "gradio", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014013 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014016 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014019 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014022 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014027 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014030 helpers.go:206: cannot connect plug to slot "optical-drive" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014034 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014040 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014043 helpers.go:206: cannot connect plug "gsettings" from snap "gradio", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014047 helpers.go:206: cannot connect plug "opengl" from snap "gimp", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014051 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014054 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014057 helpers.go:206: cannot connect plug "pulseaudio" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014060 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014063 helpers.go:206: cannot connect plug to slot "mount-observe" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014066 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014069 helpers.go:206: cannot connect plug "optical-drive" from snap "openra", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014072 helpers.go:206: cannot connect plug to slot "browser-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014076 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014080 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014084 helpers.go:206: cannot connect plug to slot "upower-observe" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014087 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014090 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014093 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014096 helpers.go:206: cannot connect plug "gnome-3-24-platform" from snap "gradio", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014099 helpers.go:206: cannot connect plug to slot "browser-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014103 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014106 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014109 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014112 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014115 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014119 helpers.go:206: cannot connect plug "unity7" from snap "gimp", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014122 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014125 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014129 helpers.go:206: cannot connect plug to slot "network-observe" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014132 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014135 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014138 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014141 helpers.go:206: cannot connect plug "network" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014144 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014147 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014151 helpers.go:206: cannot connect plug to slot "process-control" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014154 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014160 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014163 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014166 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014170 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014176 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014179 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014183 helpers.go:206: cannot connect plug "x11" from snap "gradio", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014188 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014191 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014194 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014198 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014201 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014204 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014207 helpers.go:206: cannot connect plug "pulseaudio" from snap "gradio", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014210 helpers.go:206: cannot connect plug to slot "removable-media" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014219 helpers.go:206: cannot connect plug to slot "pulseaudio" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014222 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014225 helpers.go:206: cannot connect plug "x11" from snap "gitter-desktop", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014228 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014233 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014236 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014241 helpers.go:206: cannot connect plug to slot "screen-inhibit-control" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014244 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014247 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014250 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014253 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014257 helpers.go:206: cannot connect plug to slot "browser-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014260 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014263 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014266 helpers.go:206: cannot connect plug to slot "upower-observe" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014269 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014272 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014275 helpers.go:206: cannot connect plug to slot "docker-support" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014278 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014282 helpers.go:206: cannot connect plug to slot "log-observe" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014290 helpers.go:206: cannot connect plug to slot "network-bind" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014293 helpers.go:206: cannot connect plug "network" from snap "gpodder", no such plug
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014296 helpers.go:206: cannot connect plug to slot "unity7" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014299 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014302 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014305 helpers.go:206: cannot connect plug to slot "home" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014309 helpers.go:206: cannot connect plug to slot "screen-inhibit-control" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014312 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014315 helpers.go:206: cannot connect plug to slot "opengl" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014318 helpers.go:206: cannot connect plug to slot "gsettings" from snap "core", no such slot
Oct 04 14:43:55 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:55.014322 helpers.go:206: cannot connect plug to slot "x11" from snap "core", no such slot
Oct 04 14:43:59 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 14:43:59.580411 daemon.go:252: started snapd/2.27.6+17.10 (series 16; classic) ubuntu/17.10 (amd64) linux/4.13.0-12-generic.
Oct 04 14:43:59 dllewellyn-Z170X-UD5-TH systemd[1]: Started Snappy daemon.
Oct 04 20:19:04 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 20:19:04.213611 helpers.go:206: cannot connect plug to slot "lxd-support" from snap "core", no such slot
Oct 04 20:19:04 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 20:19:04.213673 helpers.go:206: cannot connect plug to slot "network" from snap "core", no such slot
Oct 04 20:19:04 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 20:19:04.213681 helpers.go:206: cannot connect plug "home" from snap "lxd", no such plug
Oct 04 20:19:04 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/04 20:19:04.601382 cmd.go:140: exe doesn't have snap mount dir prefix: "/usr/lib/snapd/snapd" vs "/snap"
Oct 05 13:42:04 dllewellyn-Z170X-UD5-TH snapd[1517]: 2017/10/05 13:42:04.028970 api.go:1891: Cannot get snap-name for change 754

Thank you, do you have the logs from earlier days? I think journalctl only shows that from the last boot by default. You may have to fiddle with options.

Is anything under mounted under /snap?

it looks like I’ve only got the current boot available. journalctl --list-boots only lists the current boot. Everything under /snap is correctly mounted.

logging always happens in parallel to journald and rsyslog … the syslog files should have older data …

1 Like

complete syslog* entries mentioning snapd (minus apparmor audit lines - I can repaste with those included if needed)

this might be related - apparmor didn’t start:

-- Logs begin at Wed 2017-10-04 14:43:54 BST, end at Thu 2017-10-05 20:19:04 BST. --
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH systemd[1]: Starting AppArmor initialization...
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]:  * Starting AppArmor profiles
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: AppArmor parser error for /etc/apparmor.d/usr.bin.webbrowser-app in /etc/apparmor.d/usr.bin.webbrowser-app at line 26: Could not open '/usr/share/apparmor/hardware/graphics.d'
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: AppArmor parser error for /etc/apparmor.d/usr.lib.mediascanner-2.0.mediascanner-extractor in /etc/apparmor.d/usr.lib.mediascanner-2.0.mediascanner-extractor at line 14: Could not open '/usr/share/apparmor/hardware/audio.d'
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: AppArmor parser error for /etc/apparmor.d/usr.bin.webbrowser-app in /etc/apparmor.d/usr.bin.webbrowser-app at line 26: Could not open '/usr/share/apparmor/hardware/graphics.d'
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: AppArmor parser error for /etc/apparmor.d/usr.lib.mediascanner-2.0.mediascanner-extractor in /etc/apparmor.d/usr.lib.mediascanner-2.0.mediascanner-extractor at line 14: Could not open '/usr/share/apparmor/hardware/audio.d'
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.daemon (/var/lib/snapd/apparmor/profiles/snap.lxd.daemon line 393): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.check-kernel (/var/lib/snapd/apparmor/profiles/snap.lxd.check-kernel line 393): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.benchmark (/var/lib/snapd/apparmor/profiles/snap.lxd.benchmark line 393): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.lxc (/var/lib/snapd/apparmor/profiles/snap.lxd.lxc line 393): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.lxd (/var/lib/snapd/apparmor/profiles/snap.lxd.lxd line 393): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]: Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.migrate (/var/lib/snapd/apparmor/profiles/snap.lxd.migrate line 393): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH apparmor[957]:    ...fail!
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH systemd[1]: apparmor.service: Main process exited, code=exited, status=123/n/a
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH systemd[1]: Failed to start AppArmor initialization.
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH systemd[1]: apparmor.service: Unit entered failed state.
Oct 04 14:43:54 dllewellyn-Z170X-UD5-TH systemd[1]: apparmor.service: Failed with result 'exit-code'.

I have the same errors on my 17.10 system for apparmor and yet my snap interfaces output looks normal (with and without lxd installed). So while the apparmor errors are something that @jdstrand is probably interested in look like they are not be the cause of the issue.

webrowser-app needs apparmor-easyprof-ubuntu installed. Its profile didn’t load. The lxd warnings are expected because of the lxd-support interface use of ‘ux’. It should be noted that apparmor did start and you have profiles loaded (you can see this with ‘sudo aa-status’), but because some profiles failed to load, it exited with error.

webbrowser-app was installed by default via apt (I have never used it, nor desired to find out how to install it, so it wasn’t installed by me manually!), so why does it not depend on it’s required dependencies?!

@zyga-snapd do you have any further ideas for troubleshooting? if not then I’ll do a reboot, but I’m loathed to do that if there’s still more info I can gather from the broken setup.

No, I don’t have any other ideas. Sorry

it seems the reboot successfully brought everything back into operation again. I’m thinking I must have hit a very rare race-condition on my previous reboot which caused snapd to get it’s knickers in a twist leading to the behaviour above.

TL;DR: the behaviour manifested immediately after bootup where nothing installed via snap was functional. Rebooting again fixed it.

1 Like

FYI, this is https://launchpad.net/bugs/1756800 and it is now fixed in 18.04 (as of yesterday). Please note that it does not affect snapd.

I saw this issue yesterday on 18.04 with core from the beta channel (r4376). I saw the same apparmor errors. I then did ‘sudo snap interfaces’ and noticed that the lxd-support interface was not there. So I did sudo systemctl stop snapd ; sudo systemctl start snapd and the interfaces showed up again but the policy wan’t applied. So I tried to load the policy via apparmor_parser but the rules for lxd-support were not in there, so I had to sudo snap disconnect lxd:lxd-support ; sudo snap connect lxd-support to get the snap to work again.

Please see this paste: https://paste.ubuntu.com/p/ySSrxXRgyK/. Timestamps are -0500. The problem came in between Apr 02 16:30 (when I believe I last successfully used lxd) and Apr 03 11:33 (when I noticed the apparmor errors and lxd did not work)

Looking at snap changes, I see:

2708  Done    2018-04-03T15:24:34Z  2018-04-03T15:26:04Z  Auto-refresh snaps "chromium", "lxd", "core"
2709  Done    2018-04-03T16:39:13Z  2018-04-03T16:39:14Z  Disconnect : from lxd:lxd-support
2710  Done    2018-04-03T16:39:17Z  2018-04-03T16:39:19Z  Connect lxd:lxd-support to core:lxd-support
2711  Done    2018-04-03T18:37:53Z  2018-04-03T18:38:36Z  Auto-refresh snap "lxd"
2712  Done    2018-04-04T04:47:54Z  2018-04-04T04:48:04Z  Auto-refresh snap "lxd"

which translates to Apr 03 10:24:34 for a refresh of core and lxd at the same time. So looking at the paste, at 11:37 is when I manually stop/started snapd and looking at snap changes I disconnected/connected lxd-support at 11:39.

Snaps did not show up as ‘broken’ when I noticed the problem.

We roughly understand the mechanism that may explain this but need to come up with a plausible theory of why it could happen. I will update this bug with more information soon.

Also note, I do not have the dotnet-sdk snap installed any more. I believe this is Please help testing 2.32 in beta

FYI, I’ve been using the lxd snap for a long time. It may have plugged ‘home’ in the past but looking at /snap/lxd/current/meta/snap.yaml, it doesn’t plug ‘home’ any more.

Finally, looking at the paste, it seems that chromium was likely also affected since it was refreshed at the same time as core and lxd. Unfortunately, I don’t use the chromium snap regularly so I don’t know if it was misbehaving.

It seems that one could try to reproduce this by installing older versions of lxd and core, then waiting for auto-refresh. Perhaps this could be done by installing stable of both, then snap switching both to edge, then running snap refresh.