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.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1873040

Title:
  Source for deb apps is empty when they are also available as snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store/+bug/1873040/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to