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:
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.