Comment 0 for bug 1460152

Revision history for this message
Michael Vogt (mvo) wrote : (sometimes?) becomes confused about apparmor rules for ubuntu-core-launcher

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.