snap-store unable to start after gnome upgrade to 3-38-2004

Bug #1988141 reported by Jorge Peinado
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
snap-store-desktop
New
Undecided
Unassigned

Bug Description

When trying to start snap-store using the desktop icon, a general protection fault is reported in journalctl due to apparmor deniying access to some directories. This start to happen after Gnome was upgraded to 3-38-2004.

Journalctl logs:

ago 30 10:10:45 2021-EMEA-0145 systemd[2550]: Started Application launched by gnome-shell.
ago 30 10:10:45 2021-EMEA-0145 systemd[2550]: Started snap.snap-store.ubuntu-software.f7cceba9-aec4-4180-b2bb-a608f0b34401.scope.
ago 30 10:10:45 2021-EMEA-0145 systemd[2550]: gnome-launched-snap-store_ubuntu-software.desktop-7506.scope: Succeeded.
ago 30 10:10:45 2021-EMEA-0145 audit[7506]: SECCOMP auid=1001 uid=1001 gid=1001 ses=4 subj=? pid=7506 comm="snap-store" exe="/snap/snap-store/558/usr/bin/snap-store" sig=0 arch=c000003e sys>
ago 30 10:10:45 2021-EMEA-0145 kernel: audit: type=1326 audit(1661847045.830:62): auid=1001 uid=1001 gid=1001 ses=4 subj=? pid=7506 comm="snap-store" exe="/snap/snap-store/558/usr/bin/snap->
ago 30 10:10:45 2021-EMEA-0145 fwupd[7453]: 08:10:45:0919 FuEngine failed to record HSI attributes: failed to get historical attr: json-glib version too old
ago 30 10:10:45 2021-EMEA-0145 audit[1160]: USER_AVC pid=1160 uid=103 auid=4294967295 ses=4294967295 subj=? msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/free>
                                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
ago 30 10:10:45 2021-EMEA-0145 audit: AUDIT1420 subj_apparmor=unconfined
ago 30 10:10:45 2021-EMEA-0145 audit[1160]: USER_AVC pid=1160 uid=103 auid=4294967295 ses=4294967295 subj=? msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/free>
                                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
ago 30 10:10:45 2021-EMEA-0145 audit: AUDIT1420 subj_apparmor=unconfined
ago 30 10:10:45 2021-EMEA-0145 kernel: audit: type=1107 audit(1661847045.918:63): pid=1160 uid=103 auid=4294967295 ses=4294967295 subj=? msg='apparmor="DENIED" operation="dbus_method_call" >
                                        exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
ago 30 10:10:45 2021-EMEA-0145 kernel: audit: type=1420 audit(1661847045.918:64): subj_apparmor=unconfined
ago 30 10:10:45 2021-EMEA-0145 kernel: audit: type=1107 audit(1661847045.918:65): pid=1160 uid=103 auid=4294967295 ses=4294967295 subj=? msg='apparmor="DENIED" operation="dbus_method_call" >
                                        exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
ago 30 10:10:45 2021-EMEA-0145 kernel: audit: type=1420 audit(1661847045.918:66): subj_apparmor=unconfined
ago 30 10:10:47 2021-EMEA-0145 audit[7506]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/g>
ago 30 10:10:47 2021-EMEA-0145 kernel: audit: type=1400 audit(1661847047.462:67): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/us>
ago 30 10:10:47 2021-EMEA-0145 audit[7506]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/g>
ago 30 10:10:47 2021-EMEA-0145 kernel: audit: type=1400 audit(1661847047.486:68): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/us>
ago 30 10:10:47 2021-EMEA-0145 kernel: traps: snap-store[7506] general protection fault ip:7fa4dd0a531b sp:7ffefbb51500 error:0 in libxmlb.so.2.0.0[7fa4dd09f000+20000]
ago 30 10:10:47 2021-EMEA-0145 systemd[2550]: snap.snap-store.ubuntu-software.f7cceba9-aec4-4180-b2bb-a608f0b34401.scope: Succeeded.

Paul White (paulw2u)
affects: ubuntu → snap-store-desktop
Revision history for this message
Michel-Ekimia (michel.ekimia) wrote :

Thanks , very impacting users in daily task !

Revision history for this message
Tommaso Diotalevi (tof1993) wrote :

Since the last update, I am unable to lunch snap-store from my Ubuntu machine (20.04 LTS). Crashing at startup.

Revision history for this message
Alexander B. (alex-b2022) wrote :

i have exact the same problem with german version of ubuntu 20.04.
when start the snap-store in terminal the output is:

09:18:48:0099 Gtk Failed to load module "canberra-gtk-module"
09:18:48:0100 Gtk Failed to load module "canberra-gtk-module"
Speicherzugriffsfehler (Speicherabzug geschrieben)

tried remove and reinstall the snap-store, no improvement.
deleted the snap folder in the home directory also no improvement

Revision history for this message
Michel-Ekimia (michel.ekimia) wrote :

This should be Number 1 priority and I see that it is not even assigned ?

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

This should be currently fixed in "edge". Can you test it?

Revision history for this message
Jorge Peinado (jpeinado) wrote :

Yes, it is fixed on the "edge" channel.
Thank you very much for your work.
Just as general information, for fixing it I did:

#snap refresh --edge snap-store

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.