[Pkg-utopia-maintainers] Bug#921010: flatpak: Polkit and dbus-related error messages on every new terminal

Alberto Garcia berto at igalia.com
Thu Jan 31 15:02:14 GMT 2019


Package: flatpak
Version: 1.2.0-1
Severity: normal

Hi,

(I'm reporting this on behalf of someone else, so please apologize for the
possible inaccuracies)

Flatpak prints a few warning messages everytime a new terminal is opened,
seemingly if polkit is not installed:

  ** (flatpak:11008): WARNING **: 14:38:53.222: Unable to register authentication agent: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files

The source of the problem seems to be the /etc/profile.d/flatpak.sh script
running flatpak --installations on every shell.

I made a quick test to try to reproduce this on my computer and I get this:

   # flatpak  --installations
   (flatpak:18398): GLib-GIO-CRITICAL **: 14:56:15.151: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
   ** (flatpak:18398): CRITICAL **: 14:56:15.151: polkit_authority_register_authentication_agent_with_options_sync: assertion 'POLKIT_IS_AUTHORITY (authority)' failed
   Segmentation fault

Thanks

Berto

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_US:en (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages flatpak depends on:
ii  bubblewrap             0.3.1-2
ii  libappstream-glib8     0.7.14-1
ii  libarchive13           3.3.3-3
ii  libc6                  2.28-5
ii  libdconf1              0.30.1-2
ii  libgdk-pixbuf2.0-0     2.38.0+dfsg-7
ii  libglib2.0-0           2.58.2-4
ii  libgpgme11             1.12.0-6
ii  libjson-glib-1.0-0     1.4.4-2
ii  libostree-1-1          2019.1-1
ii  libpolkit-agent-1-0    0.105-25
ii  libpolkit-gobject-1-0  0.105-25
ii  libseccomp2            2.3.3-3
ii  libsoup2.4-1           2.64.2-2
ii  libsystemd0            240-5
ii  libxau6                1:1.0.8-1+b2
ii  libxml2                2.9.4+dfsg1-7+b3
ii  xdg-dbus-proxy         0.1.1-1
ii  xdg-desktop-portal     1.2.0-1

Versions of packages flatpak recommends:
pn  desktop-file-utils                                   <none>
pn  gtk-update-icon-cache                                <none>
pn  hicolor-icon-theme                                   <none>
ii  libpam-systemd                                       240-5
pn  p11-kit                                              <none>
pn  policykit-1                                          <none>
ii  shared-mime-info                                     1.10-1
pn  xdg-desktop-portal-gtk | xdg-desktop-portal-backend  <none>

Versions of packages flatpak suggests:
pn  avahi-daemon  <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list