[snap] Gedit fails to launch

Bug #1828730 reported by Benjamin Tegge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
New
High
Unassigned

Bug Description

This happens on both stable and latest channel. I have Communitheme snap installed and Suru icons set. gnome-characters and other gnome snaps do run but fail to fetch theme resources on 18.04 (see #LP:1828664). I also installed the snap on 19.04 where it runs fine.

Steps to reproduce
------------------

$ sudo snap install gedit --edge
gedit (edge) 3.32.0+git39.87d21ca4a aus Canonical✓ installiert
$ snap run gedit
utils.go:684: cannot change mount namespace of snap "gedit" according to change mount (/snap/gtk-common-themes/1290/share/icons/Suru /snap/gedit/276/data-dir/icons/Suru none bind,ro 0 0): cannot use "/snap/gtk-common-themes/1290/share/icons/Suru" as bind-mount source: not a directory
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.367" (uid=1000 pid=3161 comm="gedit " label="snap.gedit.gedit (enforce)") interface="org.gtk.Actions" member="DescribeAll" error name="(unset)" requested_reply="0" destination="org.gnome.gedit" (uid=1000 pid=14025 comm="/usr/bin/gedit --gapplication-service " label="unconfined")

Version info
------------

$ snap info gedit
name: gedit
summary: Edit text files
publisher: Canonical*
contact: https://bugs.launchpad.net/ubuntu/+source/gedit/+bugs?field.tag=snap
license: unset
description: |
  gedit is the official text editor of the GNOME desktop environment.
  While aiming at simplicity and ease of use, gedit is a powerful general
  purpose text editor.

  Whether you are writing the next bestseller, programming an innovative
  application, or simply taking some quick notes, gedit will be a reliable
  tool to accomplish your task.

  Its flexible plugin system allows you to tailor the application to your
  needs and adapt it to your workflow.
commands:
  - gedit
snap-id: bhi7vd8JRi4WsPIAFmwm0LFaRBZs0j13
tracking: edge
refresh-date: today at 13:26 CEST
channels:
  stable: 3.30.2+git14.bed83e929 2019-02-15 (89) 6MB -
  candidate: 3.32.0+git22.7559e64e5 2019-04-25 (270) 8MB -
  beta: ^
  edge: 3.32.0+git39.87d21ca4a 2019-04-25 (276) 8MB -
installed: 3.32.0+git39.87d21ca4a (276) 8MB -

Tags: snap
Changed in gedit (Ubuntu):
importance: Undecided → High
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.