The snap-store app “Ubuntu Software” on Ubuntu 20.04.1 is not loading up properly. Screenshot attached.
There are some error messages from dmesg related to apparmor denied access to not existing folders:
[ 1602.943923] audit: type=1400 audit(1604895366.605:8063): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=2480 co
mm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.943953] audit: type=1400 audit(1604895366.605:8064): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/globs2" pid=2480 comm="
snap-store" requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.943981] audit: type=1400 audit(1604895366.605:8065): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/magic" pid=2480 comm=“s
nap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.944004] audit: type=1400 audit(1604895366.605:8066): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/aliases" pid=2480 comm=
“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.944026] audit: type=1400 audit(1604895366.605:8067): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/subclasses" pid=2480 co
mm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.944048] audit: type=1400 audit(1604895366.605:8068): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/icons" pid=2480 comm=“s
nap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.944069] audit: type=1400 audit(1604895366.605:8069): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/generic-icons" pid=2480
comm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.473250] audit: type=1400 audit(1604895407.133:8070): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=2480 co
mm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.473648] audit: type=1400 audit(1604895407.133:8071): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/globs2" pid=2480 comm="
snap-store" requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.473885] audit: type=1400 audit(1604895407.133:8072): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/magic" pid=2480 comm=“s
nap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.474022] audit: type=1400 audit(1604895407.133:8073): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/aliases" pid=2480 comm=
“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.474137] audit: type=1400 audit(1604895407.133:8074): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/subclasses" pid=2480 co
mm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.474250] audit: type=1400 audit(1604895407.133:8075): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/icons" pid=2480 comm=“s
nap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.474370] audit: type=1400 audit(1604895407.133:8076): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/generic-icons" pid=2480
comm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1713.804975] CE: hpet increased min_delta_ns to 11521 nsec
[ 1739.221352] audit: type=1400 audit(1604895502.881:8077): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.snap-store” name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=25361 comm="
snap-store" requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
Any idea why?