Your message dated Tue, 2 Jul 2019 16:19:04 +0100
with message-id <[email protected]>
and subject line Re: Bug#923046: flatpak segfaults in live-build hook
has caused the Debian Bug report #923046,
regarding flatpak: segfault when no D-Bus system bus is available
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
923046: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923046
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flatpak
Version: 1.2.3-1~bpo9+1
Severity: normal


Dear Maintainer,

We are providing schools with customized Debian Live images. Usually
they are a combination of Debian stable and some selected backports
(LibreOffice, Linux kernel, ...). Now we have some schools that really
want to use the current versions of GIMP and Kdenlive. Both packages are
not up to date in stretch-backports, but are available as flatpaks on
flathub, see:
https://flathub.org/apps/details/org.gimp.GIMP
https://flathub.org/apps/details/org.kde.kdenlive

Now that flatpak 1.2.3 has arrived in stretch-backports, I wanted to
integrate the GIMP and Kdenlive flatpak packages in our Debian Live
builds. Unfortunately, calling flatpak in a live-build hook fails with
some dbus and polkit error messages and then flatpak segfaults. Here is
an example that just tries to add the flathub repo:

cat config/hooks/live/add_flathub.chroot
#!/bin/sh
flatpak remote-add --if-not-exists flathub
https://flathub.org/repo/flathub.flatpakrepo

After adding this hook live-build fails with the following error messages:
-------------------------------
P: Begin executing hooks...

(flatpak remote-add:9603): GLib-GIO-CRITICAL **:
g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION
(connection)' failed

** (flatpak remote-add:9603): CRITICAL **:
polkit_authority_register_authentication_agent_with_options_sync:
assertion 'POLKIT_IS_AUTHORITY (authority)' failed

Segmentation fault
E: config/hooks/live/add_flathub.chroot failed (exit non-zero). You
should check for errors.
P: Begin unmounting filesystems...
-------------------------------

I tried prefixing the call to flatpak with dbus-run-session, but it
still fails.



-- System Information:
Debian Release: 9.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-0.bpo.2-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8),
LANGUAGE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages flatpak depends on:
ii  bubblewrap             0.3.1-2~bpo9+1
ii  libappstream-glib8     0.6.8-1
ii  libarchive13           3.2.2-2+deb9u1
ii  libc6                  2.24-11+deb9u4
ii  libdconf1              0.26.0-2+b1
ii  libgdk-pixbuf2.0-0     2.36.5-2+deb9u2
ii  libglib2.0-0           2.50.3-2
ii  libgpgme11             1.12.0-6~bpo9+1
ii  libjson-glib-1.0-0     1.2.6-1
ii  libostree-1-1          2019.1-1~bpo9+1
ii  libpolkit-agent-1-0    0.105-18+deb9u1
ii  libpolkit-gobject-1-0  0.105-18+deb9u1
ii  libseccomp2            2.3.1-2.1+deb9u1
ii  libsoup2.4-1           2.56.0-2+deb9u2
ii  libsystemd0            232-25+deb9u8
ii  libxau6                1:1.0.8-1
ii  libxml2                2.9.4+dfsg1-2.2+deb9u2
ii  xdg-dbus-proxy         0.1.1-1~bpo9+1
ii  xdg-desktop-portal     1.2.0-1~bpo9+1

Versions of packages flatpak recommends:
ii  desktop-file-utils                                   0.23-1
ii  gtk-update-icon-cache                                3.22.11-1
ii  hicolor-icon-theme                                   0.15-1
ii  libpam-systemd                                       232-25+deb9u8
ii  p11-kit                                              0.23.3-2
ii  policykit-1                                          0.105-18+deb9u1
ii  shared-mime-info                                     1.8-1+deb9u1
ii  xdg-desktop-portal-gtk [xdg-desktop-portal-backend]  1.2.0-1~bpo9+1

Versions of packages flatpak suggests:
ii  avahi-daemon  0.6.32-2

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.109-1

On Mon, 01 Jul 2019 at 13:17:56 +0100, Simon McVittie wrote:
> This was fixed in polkit 0.108

Closing as fixed in experimental. BTS version-tracking will remember
that older suites, including unstable, are not fixed yet.

    smcv

--- End Message ---

Reply via email to