Public bug reported:

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 -

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: snap

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1828730

Title:
  [snap] Gedit fails to launch

Status in gedit package in Ubuntu:
  New

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 -

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1828730/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to