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

trying to run snapcraft cleanbuild I’m getting a permission denied error from the lxd where the wrapper at /snap/lxd/4375/wrappers/lxc tries to re-execute itself using aa-exec. This command does not exist in the snap and therefore cannot be executed. LXC and cleanbuild therefore just does not work.

$ snapcraft cleanbuild
cat: /proc/self/attr/current: Permission denied
/snap/lxd/4375/wrappers/lxc: 6: exec: aa-exec: Permission denied
Something seems to be wrong with your installation of LXD.
Refer to the documentation at https://linuxcontainers.org/lxd/getting-started-cli.
$ snap version
snap    2.27.6+17.10
snapd   2.27.6+17.10
series  16
ubuntu  17.10
kernel  4.13.0-12-generic
$ snapcraft --version
snapcraft, version 2.34+git36.ebb2980
$ snap info lxd
...snipped...
tracking:        stable
installed:       2.18 (4375) 41MB -
refreshed:       2017-10-03 20:11:24 +0100 BST
...snipped...

“aa-exec” does exist in the snap. The error above most likely indicates that the LXD snap somehow got disconnected from the “lxd-support” interface.

sudo snap connect lxd:lxd-support core:lxd-support
sudo systemctl restart snap.lxd.daemon

May help with that.

something on my system is wonky then:

$ sudo snap connect lxd:lxd-support core:lxd-support
error: snap "core" has no slot named "lxd-support"

Hmm, something pretty wrong must be going on with your system then…

root@snap-ubuntu-1604:~# snap connect lxd:lxd-support core:lxd-support
root@snap-ubuntu-1604:~# snap version
snap    2.27.6
snapd   2.27.6
series  16
ubuntu  16.04
kernel  4.10.0-35-generic

Do you see the “lxd-support” interfaces listed in “snap interfaces”?

only the one line mentioning lxd-support:

$ snap interfaces | grep lxd-support
-                               lxd:lxd-support

in fact, it seems the list of interfaces is really different to how I last remember it:

$ snap interfaces
Slot                            Plug
corebird:dbus-corebird          -
docker:docker-daemon            docker:docker-cli
docker:docker-executables       -
gnome-3-24:gnome-3-24-platform  corebird,gnome-twitch,handbrake-jz,liferea
gnome-twitch:dbus-gnome-twitch  -
lxd:lxd                         -
vlc:mpris                       -
-                               brave:alsa
-                               brave:avahi-observe
-                               brave:browser-support
-                               brave:camera
-                               brave:cups-control
-                               brave:gsettings
-                               brave:home
-                               brave:mount-observe
-                               brave:network
-                               brave:opengl
-                               brave:pulseaudio
-                               brave:screen-inhibit-control
-                               brave:unity7
-                               brave:upower-observe
-                               brave:x11
-                               corebird:gsettings
-                               corebird:home
-                               corebird:network
-                               corebird:opengl
-                               corebird:pulseaudio
-                               corebird:unity7
-                               corebird:x11
-                               docker:firewall-control
-                               docker:home
-                               docker:network
-                               docker:network-bind
-                               docker:privileged
-                               docker:support
-                               get-iplayer-ads20000:network
-                               gnome-ring:browser-support
-                               gnome-ring:camera
-                               gnome-ring:gsettings
-                               gnome-ring:home
-                               gnome-ring:network
-                               gnome-ring:opengl
-                               gnome-ring:pulseaudio
-                               gnome-ring:unity7
-                               gnome-ring:x11
-                               gnome-twitch:gsettings
-                               gnome-twitch:network
-                               gnome-twitch:opengl
-                               gnome-twitch:pulseaudio
-                               gnome-twitch:unity7
-                               gnome-twitch:x11
-                               googler:network
-                               handbrake-jz:gsettings
-                               handbrake-jz:home
-                               handbrake-jz:mount-observe
-                               handbrake-jz:network
-                               handbrake-jz:process-control
-                               handbrake-jz:unity7
-                               irccloud-desktop:browser-support
-                               irccloud-desktop:gsettings
-                               irccloud-desktop:home
-                               irccloud-desktop:mount-observe
-                               irccloud-desktop:network
-                               irccloud-desktop:network-bind
-                               irccloud-desktop:opengl
-                               irccloud-desktop:pulseaudio
-                               irccloud-desktop:unity7
-                               irccloud-desktop:x11
-                               liferea:gsettings
-                               liferea:home
-                               liferea:network
-                               liferea:network-bind
-                               liferea:network-observe
-                               liferea:opengl
-                               liferea:pulseaudio
-                               liferea:unity7
-                               liferea:x11
-                               lxd:lxd-support
-                               lxd:network
-                               makemkv:home
-                               makemkv:network-bind
-                               makemkv:opengl
-                               makemkv:optical-drive
-                               makemkv:process-control
-                               makemkv:removable-media
-                               makemkv:unity7
-                               openra:mount-observe
-                               openra:network
-                               openra:network-bind
-                               openra:opengl
-                               openra:pulseaudio
-                               openra:removable-media
-                               openra:unity7
-                               openra:x11
-                               opentyrian:joystick
-                               opentyrian:network
-                               opentyrian:network-bind
-                               opentyrian:opengl
-                               opentyrian:pulseaudio
-                               opentyrian:x11
-                               rocketchat-desktop:browser-support
-                               rocketchat-desktop:gsettings
-                               rocketchat-desktop:home
-                               rocketchat-desktop:network
-                               rocketchat-desktop:opengl
-                               rocketchat-desktop:pulseaudio
-                               rocketchat-desktop:unity7
-                               rocketchat-desktop:x11
-                               snappy-debug:log-observe
-                               steam:bluetooth-control
-                               steam:browser-sandbox
-                               steam:browser-support
-                               steam:gsettings
-                               steam:home
-                               steam:joystick
-                               steam:mount-observe
-                               steam:network
-                               steam:network-bind
-                               steam:opengl
-                               steam:process-control
-                               steam:pulseaudio
-                               steam:removable-media
-                               steam:screen-inhibit-control
-                               steam:system-observe
-                               steam:unity7
-                               steam:upower-observe
-                               steam:x11
-                               telegram-sergiusens:home
-                               telegram-sergiusens:network
-                               telegram-sergiusens:network-bind
-                               telegram-sergiusens:network-manager
-                               telegram-sergiusens:pulseaudio
-                               telegram-sergiusens:unity7
-                               telegram-sergiusens:x11
-                               vlc:camera
-                               vlc:home
-                               vlc:mount-observe
-                               vlc:network
-                               vlc:network-bind
-                               vlc:opengl
-                               vlc:optical-drive
-                               vlc:pulseaudio
-                               vlc:removable-media
-                               vlc:screen-inhibit-control
-                               vlc:unity7
-                               vlc:x11
-                               warzone2100:network
-                               warzone2100:network-bind
-                               warzone2100:opengl
-                               warzone2100:pulseaudio
-                               warzone2100:unity7
-                               warzone2100:x11
-                               webtorrent-desktop:browser-support
-                               webtorrent-desktop:gsettings
-                               webtorrent-desktop:network
-                               webtorrent-desktop:network-bind
-                               webtorrent-desktop:network-observe
-                               webtorrent-desktop:opengl
-                               webtorrent-desktop:pulseaudio
-                               webtorrent-desktop:unity7
-                               webtorrent-desktop:x11

just for completeness, this is my list of snaps: (nothing is marked as “broken”)

$ snap list
Name                  Version                  Rev   Developer     Notes
brave                 v0.18.36dev              6     brave         -
core                  16-2.27.6                2898  canonical     core
corebird              1.6.0                    54    snapcrafters  -
docker                17.06.0-ce-1             155   docker-inc    -
get-iplayer-ads20000  3.01                     x2                  -
gimp                  2.8.22                   x3                  -
gitter-desktop        3.1.0                    9     snapcrafters  -
gnome-3-24            3.24                     3     canonical     -
gnome-ring            0.1                      x15                 devmode
gnome-twitch          0.4.1                    x3                  -
googler               3.3                      x4                  -
gpodder               3.9.3                    x9                  devmode
gradio                5.9.0                    x1                  -
handbrake-jz          1.0.7-1                  12    jz            -
irccloud-desktop      0.3.0                    x2                  -
liferea               0.1                      x1                  devmode
lxd                   2.18                     4418  canonical     -
makemkv               0.1                      x3                  -
openra                20170527                 x17                 -
opentyrian            trunk                    x6                  -
rednotebook           2.2                      x2                  devmode
rocketchat-desktop    2.7.0                    4     rocketchat    -
snapcraft             2.34+git36.ebb2980       578   canonical     classic
snappy-debug          0.31.4-snapd2.26.9       70    canonical     -
swift                 3.1.1-1                  x2                  devmode
telegram-sergiusens   1.1.23                   53    sergiusens    -
vlc                   daily                    4     videolan      -
warzone2100           3.2.3                    x10                 -
webtorrent-desktop    0.18.0                   x5                  -

According to your output, your core snap isn’t providing any interface, that definitely looks like a rather big problem with your snapd :slight_smile:

:scream: how did this happen?

Can you add snap changes here please? Don’t restart your snapd in case that fixes it as it may have some clues as to where we failed.

$ snap changes
ID   Status  Spawn                 Ready                 Summary
753  Done    2017-10-04T13:44:00Z  2017-10-04T13:44:04Z  Auto-refresh snap "snapcraft"
754  Done    2017-10-04T14:28:57Z  2017-10-04T14:28:57Z  Refresh all snaps: no updates
755  Done    2017-10-04T19:19:02Z  2017-10-04T19:19:06Z  Auto-refresh snap "lxd"
756  Done    2017-10-05T01:24:02Z  2017-10-05T01:24:06Z  Auto-refresh snap "snapcraft"
757  Done    2017-10-05T09:34:02Z  2017-10-05T09:34:05Z  Auto-refresh snap "snapcraft"
1 Like

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.