Lxc list displays cat: /proc/self/attr/current: Permission denied

I suspect an update modified the apparmour configuration and that is what broke things. I cannot seem to track it down though. I’ve provided information on my setup, but I suspect this is incomplete so I’m happy to provide whatever info is necessary.

The issue is when I run lxc list I get the following errors:

# lxc list
cat: /proc/self/attr/current: Permission denied
/snap/lxd/22258/commands/lxc: 6: exec: aa-exec: Permission denied

Configuration info:

# uname -a
Linux mint4 5.13.0-28-generic #31~20.04.1-Ubuntu SMP Wed Jan 19 14:08:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

ZFS

# zfs version
zfs-0.8.3-1ubuntu12.13
zfs-kmod-2.0.6-1ubuntu2

Info on snap and lxd:

# snap info lxd
name:      lxd
summary:   LXD - container and VM manager
publisher: Canonical✓
store-url: https://snapcraft.io/lxd
contact:   https://github.com/lxc/lxd/issues
license:   unset
<snip>
snap-id:      J60k4JY0HppjwOjW8dZdYc8obXKxujRu
tracking:     latest/stable
refresh-date: today at 14:14 CST
channels:
  latest/stable:    4.22        2022-02-03 (22340) 79MB -
  latest/candidate: 4.22        2022-02-05 (22358) 79MB -
  latest/beta:      ↑                                   
  latest/edge:      git-d08046c 2022-02-05 (22363) 80MB -
  4.22/stable:      4.22        2022-02-03 (22340) 79MB -
  4.22/candidate:   4.22        2022-02-05 (22358) 79MB -
  4.22/beta:        ↑                                   
  4.22/edge:        ↑                                   
  4.21/stable:      4.21        2022-01-07 (22162) 77MB -
  4.21/candidate:   4.21        2022-01-02 (22162) 77MB -
  4.21/beta:        ↑                                   
  4.21/edge:        ↑                                   
  4.20/stable:      4.20        2021-11-18 (21902) 76MB -
  4.20/candidate:   4.20        2021-11-14 (21902) 76MB -
  4.20/beta:        ↑                                   
  4.20/edge:        ↑                                   
  4.0/stable:       4.0.8       2021-11-06 (21835) 70MB -
  4.0/candidate:    4.0.8       2021-11-04 (21835) 70MB -
  4.0/beta:         ↑                                   
  4.0/edge:         git-5628fc6 2022-02-02 (22337) 70MB -
  3.0/stable:       3.0.4       2019-10-10 (11348) 55MB -
  3.0/candidate:    3.0.4       2019-10-10 (11348) 55MB -
  3.0/beta:         ↑                                   
  3.0/edge:         git-81b81b9 2019-10-10 (11362) 55MB -
  2.0/stable:       2.0.12      2020-08-18 (16879) 38MB -
  2.0/candidate:    2.0.12      2021-03-22 (19859) 39MB -
  2.0/beta:         ↑                                   
  2.0/edge:         git-82c7d62 2021-03-22 (19857) 39MB -
installed:          4.22                   (22258) 80MB -

When I start up lxd via snap this shows up in dmesg:

[   79.878883] audit: type=1400 audit(1644264891.705:60): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.buginfo" pid=3147 comm="apparmor_parser"
[   79.881731] audit: type=1400 audit(1644264891.709:61): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.hook.install" pid=3151 comm="apparmor_parser"
[   79.881749] audit: type=1400 audit(1644264891.709:62): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.migrate" pid=3156 comm="apparmor_parser"
[   79.881872] audit: type=1400 audit(1644264891.709:63): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.lxc" pid=3153 comm="apparmor_parser"
[   79.882644] audit: type=1400 audit(1644264891.709:64): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.lxd" pid=3155 comm="apparmor_parser"
[   79.882648] audit: type=1400 audit(1644264891.709:65): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.check-kernel" pid=3148 comm="apparmor_parser"
[   79.883136] audit: type=1400 audit(1644264891.709:66): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.benchmark" pid=3146 comm="apparmor_parser"
[   79.884951] audit: type=1400 audit(1644264891.713:67): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.daemon" pid=3149 comm="apparmor_parser"
[   79.885023] audit: type=1400 audit(1644264891.713:68): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.lxc-to-lxd" pid=3154 comm="apparmor_parser"
[   79.885305] audit: type=1400 audit(1644264891.713:69): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.lxd.hook.remove" pid=3152 comm="apparmor_parser"
[   84.926499] kauditd_printk_skb: 24 callbacks suppressed
[   84.926501] audit: type=1400 audit(1644264896.753:94): apparmor="DENIED" operation="open" profile="snap.lxd.activate" name="/proc/3661/attr/current" pid=3661 comm="cat" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   84.926680] audit: type=1400 audit(1644264896.753:95): apparmor="DENIED" operation="exec" profile="snap.lxd.activate" name="/usr/bin/aa-exec" pid=3662 comm="daemon.activate" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[   84.926707] audit: type=1400 audit(1644264896.753:96): apparmor="DENIED" operation="exec" profile="snap.lxd.activate" name="/usr/bin/aa-exec" pid=3662 comm="daemon.activate" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[  494.486934] audit: type=1400 audit(1644265306.317:97): apparmor="DENIED" operation="open" profile="snap.lxd.lxc" name="/proc/6479/attr/current" pid=6479 comm="cat" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[  494.487137] audit: type=1400 audit(1644265306.317:98): apparmor="DENIED" operation="exec" profile="snap.lxd.lxc" name="/usr/bin/aa-exec" pid=6460 comm="lxc" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
[  494.487165] audit: type=1400 audit(1644265306.317:99): apparmor="DENIED" operation="exec" profile="snap.lxd.lxc" name="/usr/bin/aa-exec" pid=6460 comm="lxc" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
[ 1058.080102] audit: type=1400 audit(1644265869.919:100): apparmor="DENIED" operation="open" profile="snap.lxd.activate" name="/proc/10870/attr/current" pid=10870 comm="cat" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 1058.080255] audit: type=1400 audit(1644265869.919:101): apparmor="DENIED" operation="exec" profile="snap.lxd.activate" name="/usr/bin/aa-exec" pid=10871 comm="daemon.activate" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[ 1058.080287] audit: type=1400 audit(1644265869.919:102): apparmor="DENIED" operation="exec" profile="snap.lxd.activate" name="/usr/bin/aa-exec" pid=10871 comm="daemon.activate" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[ 1058.363187] audit: type=1400 audit(1644265870.203:103): apparmor="DENIED" operation="open" profile="snap.lxd.daemon" name="/proc/10896/attr/current" pid=10896 comm="cat" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 1058.363375] audit: type=1400 audit(1644265870.203:104): apparmor="DENIED" operation="exec" profile="snap.lxd.daemon" name="/usr/bin/aa-exec" pid=10876 comm="daemon.start" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[ 1058.363416] audit: type=1400 audit(1644265870.203:105): apparmor="DENIED" operation="exec" profile="snap.lxd.daemon" name="/usr/bin/aa-exec" pid=10876 comm="daemon.start" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[ 1058.533516] audit: type=1400 audit(1644265870.371:106): apparmor="DENIED" operation="open" profile="snap.lxd.daemon" name="/proc/10917/attr/current" pid=10917 comm="cat" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 1058.533656] audit: type=1400 audit(1644265870.371:107): apparmor="DENIED" operation="exec" profile="snap.lxd.daemon" name="/usr/bin/aa-exec" pid=10898 comm="daemon.start" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[ 1058.533676] audit: type=1400 audit(1644265870.371:108): apparmor="DENIED" operation="exec" profile="snap.lxd.daemon" name="/usr/bin/aa-exec" pid=10898 comm="daemon.start" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[ 1058.628070] audit: type=1400 audit(1644265870.467:109): apparmor="DENIED" operation="open" profile="snap.lxd.user-daemon" name="/proc/10940/attr/current" pid=10940 comm="cat" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

Looking at logs from

Jan 20 04:26:00 mint4 systemd[1]: Starting Snap Daemon...
Jan 20 04:26:01 mint4 snapd[2278]: AppArmor status: apparmor is enabled and all features are available
Jan 20 04:26:10 mint4 snapd[2278]: AppArmor status: apparmor is enabled and all features are available
Jan 20 04:26:11 mint4 snapd[2278]: daemon.go:242: started snapd/2.53.4 (series 16; classic) linuxmint/20.3 (amd64) linux/5.13.0-25-generic.
Jan 20 04:26:11 mint4 snapd[2278]: daemon.go:335: adjusting startup timeout by 1m30s (pessimistic estimate of 30s plus 5s per snap)
Jan 20 04:26:11 mint4 systemd[1]: Started Snap Daemon.
**Jan 20 04:26:13 mint4 snapd[2278]: stateengine.go:149: state ensure error: cannot decode new commands catalog: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/names?confinement=strict%2Cclassic"**
Jan 20 10:30:34 mint4 systemd[1]: Stopping Snap Daemon...
Jan 20 10:30:34 mint4 snapd[2278]: main.go:155: Exiting on terminated signal.
Jan 20 10:30:34 mint4 systemd[1]: snapd.service: Succeeded.
Jan 20 10:30:34 mint4 systemd[1]: Stopped Snap Daemon.
-- Reboot --
Jan 20 10:36:00 mint4 systemd[1]: Starting Snap Daemon...
Jan 20 10:36:00 mint4 snapd[2258]: AppArmor status: apparmor is enabled and all features are available
Jan 20 10:36:09 mint4 snapd[2258]: AppArmor status: apparmor is enabled and all features are available
Jan 20 10:36:10 mint4 snapd[2258]: daemon.go:242: started snapd/2.53.4 (series 16; classic) linuxmint/20.3 (amd64) linux/5.13.0-25-generic.
Jan 20 10:36:10 mint4 snapd[2258]: daemon.go:335: adjusting startup timeout by 1m30s (pessimistic estimate of 30s plus 5s per snap)
Jan 20 10:36:10 mint4 systemd[1]: Started Snap Daemon.
**Jan 20 10:36:11 mint4 snapd[2258]: stateengine.go:149: state ensure error: cannot decode new commands catalog: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/names?confinement=strict%2Cclassic"**
Jan 20 10:41:12 mint4 snapd[2258]: storehelpers.go:710: cannot refresh: snap has no updates available: "bare", "core18", "core20", "distrobuilder", "gnome-3-28-1804", "gnome-3-34-1804", "gnome-3-38-2004", "gtk-common-themes", "snap-store", "snapd"
Jan 20 10:41:30 mint4 snapd[2258]: storehelpers.go:710: cannot refresh: snap has no updates available: "lxd", "tradingview"
Jan 20 10:42:47 mint4 snapd[2258]: main.go:155: Exiting on terminated signal.
Jan 20 10:42:47 mint4 systemd[1]: Stopping Snap Daemon...
Jan 20 10:42:47 mint4 systemd[1]: snapd.service: Succeeded.
Jan 20 10:42:47 mint4 systemd[1]: Stopped Snap Daemon.
Jan 20 10:43:12 mint4 systemd[1]: Starting Snap Daemon...
Jan 20 10:43:12 mint4 snapd[10206]: AppArmor status: apparmor is enabled and all features are available
Jan 20 10:43:12 mint4 snapd[10206]: AppArmor status: apparmor is enabled and all features are available
Jan 20 10:43:12 mint4 snapd[10206]: daemon.go:242: started snapd/2.53.4 (series 16; classic) linuxmint/20.3 (amd64) linux/5.13.0-25-generic.
Jan 20 10:43:12 mint4 snapd[10206]: daemon.go:335: adjusting startup timeout by 1m30s (pessimistic estimate of 30s plus 5s per snap)
Jan 20 10:43:12 mint4 systemd[1]: Started Snap Daemon.
**Jan 20 10:43:13 mint4 snapd[10206]: stateengine.go:149: state ensure error: cannot decode new commands catalog: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/names?confinement=strict%2Cclassic"**
Jan 20 10:47:28 mint4 systemd[1]: Stopping Snap Daemon...
Jan 20 10:47:28 mint4 snapd[10206]: main.go:155: Exiting on terminated signal.
Jan 20 10:47:28 mint4 systemd[1]: snapd.service: Succeeded.
Jan 20 10:47:28 mint4 systemd[1]: Stopped Snap Daemon.
-- Reboot --
Jan 20 10:52:47 mint4 systemd[1]: Starting Snap Daemon...
Jan 20 10:52:47 mint4 snapd[2262]: AppArmor status: apparmor is enabled and all features are available
Jan 20 10:52:48 mint4 snapd[2262]: AppArmor status: apparmor is enabled and all features are available
Jan 20 10:52:48 mint4 snapd[2262]: daemon.go:242: started snapd/2.53.4 (series 16; classic) linuxmint/20.3 (amd64) linux/5.13.0-25-generic.
Jan 20 10:52:48 mint4 snapd[2262]: daemon.go:335: adjusting startup timeout by 1m30s (pessimistic estimate of 30s plus 5s per snap)
Jan 20 10:52:48 mint4 systemd[1]: Started Snap Daemon.
**Jan 20 10:52:48 mint4 snapd[2262]: stateengine.go:149: state ensure error: Get https://api.snapcraft.io/api/v1/snaps/sections: dial tcp: lookup api.snapcraft.io: no such host**
**Jan 20 11:44:09 mint4 snapd[2262]: taskrunner.go:271: [change 111 "Run service command \"start\" for services [\"activate\" \"daemon\" \"user-daemon\"] of snap \"lxd\"" task] failed: systemctl command [start snap.lxd.activate.service] failed with exit status 1: Job for snap.lxd.activate.service failed because the control process exited with error code.**
**Jan 20 11:44:09 mint4 snapd[2262]: See "systemctl status snap.lxd.activate.service" and "journalctl -xe" for details.**
**Jan 20 11:44:50 mint4 snapd[2262]: taskrunner.go:271: [change 112 "Run service command \"start\" for services [\"activate\" \"daemon\" \"user-daemon\"] of snap \"lxd\"" task] failed: systemctl command [start snap.lxd.activate.service] failed with exit status 1: Job for snap.lxd.activate.service failed because the control process exited with error code.**
**Jan 20 11:44:50 mint4 snapd[2262]: See "systemctl status snap.lxd.activate.service" and "journalctl -xe" for details.**
**Jan 20 12:23:21 mint4 snapd[2262]: autorefresh.go:530: Cannot prepare auto-refresh change: cannot query the store for updates: got unexpected HTTP status code 503 via POST to "https://api.snapcraft.io/v2/snaps/refresh"**
**Jan 20 12:23:21 mint4 snapd[2262]: stateengine.go:149: state ensure error: cannot query the store for updates: got unexpected HTTP status code 503 via POST to "https://api.snapcraft.io/v2/snaps/refresh"**
Jan 20 14:14:46 mint4 systemd[1]: Stopping Snap Daemon...
Jan 20 14:14:46 mint4 snapd[2262]: main.go:155: Exiting on terminated signal.
Jan 20 14:14:46 mint4 systemd[1]: snapd.service: Succeeded.
Jan 20 14:14:46 mint4 systemd[1]: Stopped Snap Daemon.

Fast forward to today and this is the latest error:

Feb 06 06:26:58 mint4 systemd[1]: Starting Snap Daemon...
Feb 06 06:26:58 mint4 snapd[1259]: AppArmor status: apparmor is enabled and all features are available
Feb 06 06:26:58 mint4 snapd[1259]: daemon.go:248: started snapd/2.51.1+20.04ubuntu2 (series 16; classic) linuxmint/20.3 (amd64) linux/5.13.0-28-generic.
Feb 06 06:26:59 mint4 snapd[1259]: daemon.go:341: adjusting startup timeout by 1m30s (pessimistic estimate of 30s plus 5s per snap)
Feb 06 06:26:59 mint4 systemd[1]: Started Snap Daemon.
**Feb 06 06:26:59 mint4 snapd[1259]: autorefresh.go:506: Cannot prepare auto-refresh change: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup api.snapcraft.io: no such host**
Feb 06 06:26:59 mint4 snapd[1259]: stateengine.go:150: state ensure error: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup api.snapcraft.io: no such host
Feb 06 12:51:59 mint4 snapd[1259]: storehelpers.go:551: cannot refresh: snap has no updates available: "bare", "core18", "core20", "distrobuilder", "gnome-3-28-1804", "gnome-3-34-1804", "gnome-3-38-2004", "gtk-common-themes", "snap-store", "tradingview"
Feb 06 12:52:04 mint4 snapd[1259]: link.go:130: cannot update fontconfig cache: cannot get fc-cache-v6 from core: open /snap/core/current/bin/fc-cache-v6: no such file or directory
Feb 06 12:52:05 mint4 snapd[1259]: taskrunner.go:271: [change 134 "Run configure hook of \"lxd\" snap if present" task] failed: run hook "configure":
Feb 06 12:52:05 mint4 snapd[1259]: -----
Feb 06 12:52:05 mint4 snapd[1259]: cat: /proc/self/attr/current: Permission denied
Feb 06 12:52:05 mint4 snapd[1259]: /snap/lxd/22340/snap/hooks/configure: 5: exec: aa-exec: Permission denied
Feb 06 12:52:05 mint4 snapd[1259]: -----
Feb 06 12:52:08 mint4 snapd[1259]: link.go:130: cannot update fontconfig cache: cannot get fc-cache-v6 from core: open /snap/core/current/bin/fc-cache-v6: no such file or directory
Feb 06 12:52:09 mint4 snapd[1259]: handlers.go:511: Reported install problem for "lxd" as already-reported
Feb 06 21:38:16 mint4 snapd[1259]: storehelpers.go:551: cannot refresh: snap has no updates available: "bare", "core18", "core20", "distrobuilder", "gnome-3-28-1804", "gnome-3-34-1804", "gnome-3-38-2004", "gtk-common-themes", "snap-store", "tradingview"
Feb 06 21:38:20 mint4 snapd[1259]: link.go:130: cannot update fontconfig cache: cannot get fc-cache-v6 from core: open /snap/core/current/bin/fc-cache-v6: no such file or directory
Feb 06 21:38:21 mint4 snapd[1259]: taskrunner.go:271: [change 136 "Run configure hook of \"lxd\" snap if present" task] failed: run hook "configure":
Feb 06 21:38:21 mint4 snapd[1259]: -----
Feb 06 21:38:21 mint4 snapd[1259]: cat: /proc/self/attr/current: Permission denied
Feb 06 21:38:21 mint4 snapd[1259]: /snap/lxd/22340/snap/hooks/configure: 5: exec: aa-exec: Permission denied
Feb 06 21:38:21 mint4 snapd[1259]: -----
Feb 06 21:38:24 mint4 snapd[1259]: link.go:130: cannot update fontconfig cache: cannot get fc-cache-v6 from core: open /snap/core/current/bin/fc-cache-v6: no such file or directory
Feb 06 21:38:25 mint4 snapd[1259]: handlers.go:511: Reported install problem for "lxd" as already-reported
Feb 07 14:12:39 mint4 systemd[1]: Stopping Snap Daemon...
Feb 07 14:12:39 mint4 snapd[1259]: main.go:155: Exiting on terminated signal.
Feb 07 14:12:39 mint4 systemd[1]: snapd.service: Succeeded.
Feb 07 14:12:39 mint4 systemd[1]: Stopped Snap Daemon.

Odd thing here is I can definitely ping api.snapcraft.io and if I go here (https://api.snapcraft.io/v2/snaps/refresh) in my browser I do get a response from the api.snapcraft.io server.

Starting to think the snapd DNS resolver is busted given it cannot seem to find the host when the OS that runs snapd has no issues finding that host.

Ideas are welcome as I keep digging.

Can you show the output of snap interfaces?

Most likely the LXD snap somehow got refreshed but with the relevant interfaces disconnected causing this issue.

You’d need snap connect lxd:lxd-support to fix some of that, but there may be more interfaces missing too.

Thank you sir…here is the output of snap interfaces:

gnome-3-28-1804:gnome-3-28-1804  tradingview
gnome-3-34-1804:gnome-3-34-1804  -
gnome-3-38-2004:gnome-3-38-2004  snap-store
gtk-common-themes:gtk-2-themes   -
gtk-common-themes:gtk-3-themes   snap-store,tradingview
gtk-common-themes:icon-themes    snap-store,tradingview
gtk-common-themes:sound-themes   snap-store,tradingview
lxd:lxd                          -
snap-store:packagekit-svc        -
snap-store:snap-store            -
-                                lxd:lxd-support
-                                lxd:network
-                                lxd:network-bind
-                                lxd:system-observe
-                                snap-store:appstream-metadata
-                                snap-store:desktop
-                                snap-store:desktop-legacy
-                                snap-store:dot-snap-auth-json
-                                snap-store:fwupd
-                                snap-store:gsettings
-                                snap-store:hostfs-usr-share-applications
-                                snap-store:network
-                                snap-store:network-manager
-                                snap-store:network-status
-                                snap-store:opengl
-                                snap-store:packagekit-control
-                                snap-store:password-manager-service
-                                snap-store:snapd-control
-                                snap-store:system-observe
-                                snap-store:upower-observe
-                                snap-store:wayland
-                                snap-store:x11
-                                tradingview:audio-playback
-                                tradingview:browser-support
-                                tradingview:camera
-                                tradingview:desktop
-                                tradingview:desktop-legacy
-                                tradingview:gsettings
-                                tradingview:home
-                                tradingview:network
-                                tradingview:opengl
-                                tradingview:pulseaudio
-                                tradingview:removable-media
-                                tradingview:system-observe
-                                tradingview:unity7
-                                tradingview:wayland
-                                tradingview:x11

'snap interfaces' is deprecated; use 'snap connections'.

And snap connections given the message right above:

Interface                 Plug                         Slot                             Notes
content[gnome-3-38-2004]  snap-store:gnome-3-38-2004   gnome-3-38-2004:gnome-3-38-2004  -
content[gtk-3-themes]     snap-store:gtk-3-themes      gtk-common-themes:gtk-3-themes   -
content[icon-themes]      snap-store:icon-themes       gtk-common-themes:icon-themes    -
content[sound-themes]     snap-store:sound-themes      gtk-common-themes:sound-themes   -
content[gnome-3-28-1804]  tradingview:gnome-3-28-1804  gnome-3-28-1804:gnome-3-28-1804  -
content[gtk-3-themes]     tradingview:gtk-3-themes     gtk-common-themes:gtk-3-themes   -
content[icon-themes]      tradingview:icon-themes      gtk-common-themes:icon-themes    -
content[sound-themes]     tradingview:sound-themes     gtk-common-themes:sound-themes   -

I ran snap connect lxd:lxd-support and it produced the following:

# snap connect lxd:lxd-support
error: cannot resolve connection, slot snap name is empty

Unfortunately I’m totally unfamiliar with the ways of snap so your help is appreciated!

Hmm, that’s working here so there’s something else odd going on with snapd on your system which appears to be affecting more than just LXD…

I’d probably recommend opening a post on https://forum.snapcraft.io so someone more familiar with snapd itself can help out.