Comment 3 for bug 1873040

Revision history for this message
AsciiWolf (asciiwolf) wrote : Re: Source for deb apps is empty when they are also available as snap

It seems that these AVCs are printed in journal when clicking the dropdown Sources menu on a details page of deb app that has multiple sources available (multiple debs or debs + snaps):
virt-ubuntu audit[6180]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu audit[6180]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/globs2" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu audit[6180]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/magic" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu audit[6180]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/aliases" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu audit[6180]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/subclasses" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu audit[6180]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/icons" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu audit[6180]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/generic-icons" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu kernel: audit: type=1400 audit(1589481306.426:32839): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu kernel: audit: type=1400 audit(1589481306.426:32840): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/globs2" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu kernel: audit: type=1400 audit(1589481306.426:32841): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/magic" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu kernel: audit: type=1400 audit(1589481306.426:32842): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/aliases" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu kernel: audit: type=1400 audit(1589481306.426:32843): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/subclasses" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu kernel: audit: type=1400 audit(1589481306.426:32844): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/icons" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
virt-ubuntu kernel: audit: type=1400 audit(1589481306.426:32845): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/var/lib/snapd/hostfs/usr/share/mime/generic-icons" pid=6180 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

However, I am not sure if this is causing the issue.