Apparmor issue

Hi all, came here to find out if anyone else is experiencing the same issues as I am experiencing now.

I run Arch Linux and use a few snap packages. It all has been working fine until the latest update to apparmor version 3.4.1.

Since then none of the snaps that I have installed would run. I’ve uninstalled both snapd & apparmor but no joy.

The errors I get are the following:

% hello-world
cannot perform operation: mount -t tmpfs /tmp/snap.rootfs_IxsblO: Permission denied

When I look into /var/log/audit/audit.log

type=AVC msg=audit(1685879595.481:528): apparmor="DENIED" operation="mount" class="mount" info="failed perms check" error=-13 profile="/usr/lib/snapd/snap-confine" name="/tmp/snap.rootfs_uAIbsj/" pid=13661 comm="snap-confine" fstype="tmpfs" srcname="none"

Has anyone seen this behaviour? Is this a known issue? I have searched both in arch linux, apparmor and snapd bug trackers bu haven’t found anything so far.

If anyone has any pointers to a possible solution I would be very grateful!

I have the same today: Snap applications stopped to work after zypper dup - apparmor was updated today for me in my distro.

1 Like

Workaround in suse bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1211989#c4

Just an update, a PR has been opened to fix this https://github.com/snapcore/snapd/pull/12845

Thank you both for confirming first and then providing a solution! They work now, much appreciated!!