All the snaps stopped working

Yes, it’s right at the top of the file:

zyga@fyke:~$ head /etc/apparmor.d/snap.core.4321.usr.lib.snapd.snap-confine 
# Author: Jamie Strandboge <jamie@canonical.com>
#include <tunables/global>

/snap/core/4321/usr/lib/snapd/snap-confine (attach_disconnected) {
    # Include any additional files that snapd chose to generate.
    # - for $HOME on NFS
    # - for $HOME on encrypted media
    #
    # Those are discussed on https://forum.snapcraft.io/t/snapd-vs-upstream-kernel-vs-apparmor
    # and https://forum.snapcraft.io/t/snaps-and-nfs-home/

NOTE: you may need to do this change to all the snap-confine files there.

1 Like