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

To summarize the post above:

  • refreshing core and lxd together via “snap switch --stable {core,lxd} && snap refresh” trick
  • refresh succeeds but the the lxd snap has no plugs at all
  • the yaml is correct

NOTE: we don’t return errors if we cannot read snap.yaml, we just return a snap.Info with Broken field. Hence nothing fails.