Rick Spencer ran into the situation that he ended up with a snappy image that gave the following error:
"""
apparmor="DENIED" operation="mkdir" profile="/usr/bin/ubuntu-core-launcher" name="/tmp/snap.0_pastebinit.mvo_em33Zz/" pid=1092 comm="ubuntu-core-lau" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
"""
Running:
$ sudo apparmor_parser --skip-cache -r /etc/apparmor.d/usr.bin.ubuntu-core-launcher
fixes it.
This strongly indicates that the cache has the old content and did not get re-generated on upgrade or image build.
Rick Spencer ran into the situation that he ended up with a snappy image that gave the following error: "/usr/bin/ ubuntu- core-launcher" name="/ tmp/snap. 0_pastebinit. mvo_em33Zz/ " pid=1092 comm="ubuntu- core-lau" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
"""
apparmor="DENIED" operation="mkdir" profile=
"""
Running: d/usr.bin. ubuntu- core-launcher
$ sudo apparmor_parser --skip-cache -r /etc/apparmor.
fixes it.
This strongly indicates that the cache has the old content and did not get re-generated on upgrade or image build.