Your message dated Sun, 11 Aug 2019 18:50:36 +0000
with message-id <[email protected]>
and subject line Bug#923046: fixed in policykit-1 0.105-26
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 ---
Source: policykit-1
Source-Version: 0.105-26
We believe that the bug you reported is fixed in the latest version of
policykit-1, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated policykit-1 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 11 Aug 2019 19:09:35 +0100
Source: policykit-1
Architecture: source
Version: 0.105-26
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 918446 923046 923240
Changes:
policykit-1 (0.105-26) unstable; urgency=medium
.
[ Mark Hindley ]
* Depend on new virtual packages default-logind and logind
(Closes: #923240)
.
[ Simon McVittie ]
* Apply most changes from upstream release 0.116
-
d/p/0.116/Elaborate-message-printed-by-polkit-when-disconnecting-fr.patch,
d/p/0.116/Error-message-raised-on-every-systemctl-start-in-emergenc.patch:
Reduce messages to stderr from polkit agents, in particular when using
"systemctl reboot" on a ssh connection or when using "systemctl start"
in systemd emergency mode
-
d/p/0.116/Fix-a-critical-warning-on-calling-polkit_permission_new_s.patch:
Fix critical warnings when calling polkit_permission_new_sync() with
no D-Bus system bus
- d/p/0.116/Possible-resource-leak-found-by-static-analyzer.patch:
Fix a potential use-after-free in polkit agents
-
d/p/0.116/pkttyagent-PolkitAgentTextListener-leaves-echo-tty-disabl.patch:
Re-enable echo if the tty agent is killed by SIGINT or SIGTERM
or suspended with SIGTSTP
* Add more bug fixes backported from earlier upstream releases
-
d/p/0.108/PolkitAgent-Avoid-crashing-if-initializing-the-server-obj.patch:
Fix a segfault when a library user like flatpak attempts to register
a polkit agent with no system bus available (Closes: #923046)
- d/p/0.111/Add-a-FIXME-to-polkitprivate.h.patch:
Make it more obvious that polkitprivate.h was never intended to be API
- d/p/0.114/polkitpermission-Fix-a-memory-leak-on-authority-changes.patch:
Fix a memory leak
- d/p/0.113/PolkitSystemBusName-Retrieve-both-pid-and-uid.patch:
Avoid a use of the deprecated polkit_unix_process_new()
* d/*.symbols: Add Build-Depends-Package metadata
* d/policykit-1.lintian-overrides: Override systemd unit false positives.
The systemd unit is only for on-demand D-Bus activation, and is not
intended to be started during boot, so an [Install] section and a
parallel LSB init script are not necessary.
* Stop building libpolkit-backend as a shared library.
Its API was never declared stable before upstream removed it in
0.106. Nothing in Debian depended on it, except for polkitd itself,
which now links the same code statically.
This is a step towards being able to use the current upstream release of
polkit and patch in the old localauthority backend as an alternative to
the JavaScript backend, instead of using the old 0.105 codebase and
patching in essentially every change except the JavaScript backend,
which is becoming unmanageable.
- Remove the example null backend, which is pointless now that we've
removed the ability to extend polkit.
- Remove obsolete conffile 50-nullbackend.conf on upgrade
- Remove the directory that previously contained 50-nullbackend.conf
after upgrading or removing policykit-1
- Remove obsolete dh_makeshlibs override for the null backend
* d/policykit-1.bug-control: Add systemd, elogind versions to bug reports.
reportbug doesn't currently seem to interpret
"Depends: default-logind | logind" as implying that it should include
the version number of the package that Provides logind in bug reports.
Workaround for #934472.
* Change the policykit-1 package from Architecture: any to
Architecture: linux-any, and remove the consolekit [!linux-any]
dependency. consolekit is no longer available in any Debian or
debian-ports architecture, even those for non-Linux kernels.
(Closes: #918446)
* Standards-Version: 4.4.0 (no changes required)
* Switch to debhelper-compat 12
- d/control: Add ${misc:Pre-Depends}
* Switch to dh_missing and abort on uninstalled files
(patch taken from experimental, thanks to Michael Biebl)
Checksums-Sha1:
ea0f20bbb6af29dd7148679c50277d1c11fa6c5f 2923 policykit-1_0.105-26.dsc
19e5158ade7a24a5f17c255aa2932e6028e29c9c 73976
policykit-1_0.105-26.debian.tar.xz
98fc046ae9ed4f5aa7f8d0191e6b1232d79252a3 9284
policykit-1_0.105-26_source.buildinfo
Checksums-Sha256:
9e03a4114b43cfa9a238a0681d09f3265d46a65029e4d6dc0f482b9d1702c952 2923
policykit-1_0.105-26.dsc
fcb8061317c77888ed3333c55fdc3c98f521a45d97e59630597f3f8d3e995c20 73976
policykit-1_0.105-26.debian.tar.xz
6a6d22984df4fb0f56ba6e65ebd24da8ae4cc4b69c8115318b19bb0d37f7b58c 9284
policykit-1_0.105-26_source.buildinfo
Files:
3dc3557e9ac3e8c10be585f0284559e4 2923 admin optional policykit-1_0.105-26.dsc
2930aea8cdfd49f408469432a2aa798a 73976 admin optional
policykit-1_0.105-26.debian.tar.xz
e0c1ba8ad6071baddbcba336131f1f74 9284 admin optional
policykit-1_0.105-26_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAl1QX8cQHHNtY3ZAZGVi
aWFuLm9yZwAKCRDgWuFHj4FMT564EACxIOcOBQLRFzqamXDqvffcfjuv+e9izuBP
yGnXPliBwFgO9ls+rV0hcIwMxeDXGMGnM/vavRTxc+PQZQ0c/0WhxyIWp4Cfmydk
AX7iOPTeYS638c26d3uS1crvOSSJ1KttJnnEyIsSsZt284zHaHGTXUCm9eQC3v55
HPUcgStgpV/jl/rosJ2V5zxJBsB/HYoU78qO+qUg/KGi92Gj/mL7Te+zMTNFO3T7
Uc4IT6oFc9sZWy2NUsTe+D/x21VF4gE+UVXeCm+dLCaOL2u1qYzTMaQ8q7joTtSe
GkPkIuNdvtdFZKNh1aXSdlqZvn3w/DZRCwQsgY0aZ6xYp/XV08iXgRd+z+tGTwYj
xRH7b641S6/YnOrEVkAi8RsGFhmKh3ne0JLEhHvjwOFTUidYqy7VqsY/2LM0Nzj4
lUV62cLyVRB63/mxv9YB1obb5W7jj4U89S91br8AYK1mSOjSaJIqd2jek4DnjiP8
oTzMHwOYIWg1iQ2U5a/z6sKymtdV5qln0FsyvrrlWOwE6J14xlNY4m+yMiQPgbxH
23KzUISreX5Jb1gCkRu9Ho0M6585ofDOhYwoVVr6MapYKb21mFlifFow04tT9ZiB
yj5lqyi4sWTNP1cE4FBxO06EnElHUducCpQDQWxIppKmz3CJD1DFX6WsuiOZh8G6
xda3XWrAqA==
=ynNe
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers