gimp icon indicating copy to clipboard operation
gimp copied to clipboard

[Bug]: missing connections

Open luk71 opened this issue 1 year ago • 4 comments

What happened?

The app doesn't start

What should have happened?

The app start as expected with no errors

Output of snap info $snap_name

root@lenovo1:~# snap info gimp
name:      gimp
summary:   GNU Image Manipulation Program
publisher: Snapcrafters✪
store-url: https://snapcraft.io/gimp
contact:   https://github.com/snapcrafters/gimp/issues
license:   unset
description: |
  Whether you are a graphic designer, photographer, illustrator, or scientist, GIMP provides you
  with sophisticated tools to get your job done. You can further enhance your productivity with GIMP
  thanks to many customization options and 3rd party plugins.
  
  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
  
  Upstream Project: https://www.gimp.org/
  snapcraft.yaml Build Definition:
  https://github.com/snapcrafters/gimp/blob/master/snap/snapcraft.yaml
commands:
  - gimp
snap-id:      KDHYbyuzZukmLhiogKiUksByRhXD2gYV
tracking:     latest/stable
refresh-date: oggi alle 11:31 CET
channels:
  latest/stable:           2.10.38   2024-05-10 (436) 540MB -
  latest/candidate:        2.10.38   2024-05-10 (436) 540MB -
  latest/beta:             ↑                                
  latest/edge:             ↑                                
  preview/stable:          3.0.0-RC1 2024-12-04 (457) 388MB -
  preview/candidate:       3.0.0-RC1 2024-12-04 (457) 388MB -
  preview/beta:            ↑                                
  preview/edge:            3.0.0-RC1 2024-12-04 (459) 388MB -
  2.99-openvino/stable:    –                                
  2.99-openvino/candidate: 2.99.16   2024-12-20 (465) 387MB -
  2.99-openvino/beta:      ↑                                
  2.99-openvino/edge:      ↑                                
installed:                 2.10.38              (436) 540MB -

Output of snap connections $snap_name

root@lenovo1:~# snap connections gimp
Interfaccia      Spina                 Slot              Note
browser-support  gimp:browser-support  :browser-support  -
content          gimp:gnome-3-38-2004  -                 -
content          gimp:gtk-2-engines    -                 -
content          gimp:gtk-3-themes     -                 -
content          gimp:icon-themes      -                 -
content          gimp:sound-themes     -                 -
cups-control     gimp:cups-control     -                 -
dbus             -                     gimp:dbus-gimp    -
desktop          gimp:desktop          :desktop          -
desktop-legacy   gimp:desktop-legacy   :desktop-legacy   -
gsettings        gimp:gsettings        :gsettings        -
home             gimp:home             :home             -
network          gimp:network          :network          -
opengl           gimp:opengl           :opengl           -
removable-media  gimp:removable-media  -                 -
unity7           gimp:unity7           :unity7           -
wayland          gimp:wayland          :wayland          -
x11              gimp:x11              :x11              -

Output of snap version

root@lenovo1:~# snap version
snap    2.66.1+24.10
snapd   2.66.1+24.10
series  16
ubuntu  24.10
kernel  6.11.0-13-generic

Relevant log output

[ 3942.007898] audit: type=1400 audit(1735382539.099:2282): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=11543 comm="snap-confine" capability=38  capname="perfmon"
[ 3942.014256] audit: type=1400 audit(1735382539.105:2283): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.gimp" name="/proc/11559/maps" pid=11559 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

Teminal output of app

luca@lenovo1:~$ gimp
/snap/gimp/436/usr/bin/gimp: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory

luk71 avatar Dec 28 '24 10:12 luk71

App starts after manual connections: root@lenovo1:~# snap connect gimp:gnome-3-38-2004 gnome-3-38-2004:gnome-3-38-2004 root@lenovo1:~# snap connect gimp:gtk-3-themes gtk-common-themes:gtk-3-themes root@lenovo1:~# snap connect gimp:gtk-2-engines gtk2-common-themes:gtk-2-engines

luk71 avatar Dec 28 '24 10:12 luk71

I wonder if this unrelated auto-connection policy request had anything to do with the content interfaces no longer auto-connecting? From local debugging and cross-referencing the snapcraft config reference, everything appears to be configured in a valid way. The only thing I could see is potentially a policy issue higher up that is disallowing the interfaces from auto-connecting.

dephekt avatar Jan 05 '25 21:01 dephekt

Hi! Sorry about this - based on a message I received from the store team today, this should now be resolved with refreshes/installs. Sorry for the inconvenience.

jnsgruk avatar Jan 06 '25 10:01 jnsgruk

Hi! Sorry about this - based on a message I received from the store team today, this should now be resolved with refreshes/installs. Sorry for the inconvenience.

Hi Jon, I've just reinstalled and can confirm that now it's ok. Thank you!

luk71 avatar Jan 06 '25 10:01 luk71