Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1100

Error when running confined in a snap because of gconf


    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 2.0
    • Component/s: Other
    • Labels:
    • Environment:
      Ubuntu 16.04 with snap & snapd 2.25


      I'm trying to create a snap package for Picard 1.4.x. The current work is here:

      The snap works in devmode (that is, without confinment) but when trying to adapt it to confinment I get this error:

      Failed to get value for `/desktop/gnome/interface/icon_theme': Configuration server couldn't be contacted: D-BUS error: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.130" (uid=1000 pid=28573 comm="gconftool-2 -g /desktop/gnome/interface/icon_theme") interface="org.gnome.GConf.Server" member="GetDefaultDatabase" error name="(unset)" requested_reply="0" destination="org.gnome.GConf" (uid=1000 pid=8652 comm="/usr/lib/x86_64-linux-gnu/gconf/gconfd-2 ")

      And I've been told that this error is caused by the fact that snapd doesn't have any interfaces for gconf because:

      gconf is an antiquated technology that has been replaced by gsettings. I suggest that your application be adjusted to use gsettings instead (I am unfamiliar with the musicbrainz code, but I suspect that this application already will try to use gsettings and is simply setting gconf to try to cover all the bases, so this may actually be either a non-fatal error or it can by made non-fatal through a minimal code change).

      What should be changed to accomplish this?




            • Assignee:
              samj1912 Sambhav Kothari
              pachulo Marc
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: