Failed to start flatpak document portal service.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxml2 |
New
|
Unknown
|
|||
xdg-desktop-portal (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
Bug desciption: when launching the Calendar app (flatpak version) my system freezes for 2/3 sec, then re-become responsive, then the calendar app launcher like 10 sec after.
All my flatpak apps boot a lot slower than usual.
This bug happened with the recent update to libxml2 (one or two days ago ?).
This is not the first time it happened. See:
https:/
I don't know where to report this, if this is relates to ubuntu or to the flatpak project. Thanks for looking into this !
Description: Ubuntu 21.10
Release: 21.10
libxml2:
Installed: 2.9.12+
Candidate: 2.9.12+
Version table:
*** 2.9.12+
500 http://
500 http://
100 /var/lib/
2.9.12+dfsg-4 500
500 http://
flatpak:
Installed: 1.10.2-3ubuntu0.1
Candidate: 1.10.2-3ubuntu0.1
Version table:
*** 1.10.2-3ubuntu0.1 500
500 http://
500 http://
100 /var/lib/
1.10.2-3 500
500 http://
systemd:
Installed: 248.3-1ubuntu8.2
Candidate: 248.3-1ubuntu8.2
Version table:
*** 248.3-1ubuntu8.2 500
500 http://
500 http://
100 /var/lib/
248.3-1ubuntu8 500
500 http://
journalctl -e:
mars 15 11:25:09 mathieu-ThinkPad systemd[3226]: app-gnome-
mars 15 11:25:13 mathieu-ThinkPad systemd[1]: systemd-
mars 15 11:25:13 mathieu-ThinkPad dbus-daemon[6461]: [session uid=1000 pid=6461] Activating via systemd: service name='org.
mars 15 11:25:13 mathieu-ThinkPad systemd[3226]: Starting flatpak document portal service...
mars 15 11:25:14 mathieu-ThinkPad xdg-document-
mars 15 11:25:14 mathieu-ThinkPad systemd[3226]: xdg-document-
mars 15 11:25:14 mathieu-ThinkPad systemd[3226]: xdg-document-
mars 15 11:25:14 mathieu-ThinkPad systemd[3226]: Failed to start flatpak document portal service.
sudo dmesg:
[ 2380.432314] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 2380.445853] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 2380.449934] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 2513.367108] gnome-calendar[
[ 2513.367127] Code: ff fc 03 00 00 77 33 48 c1 ef 02 48 8d 05 b8 4b 02 00 48 8b 3c f8 48 81 fe fc 03 00 00 76 28 48 83 e6 fc 31 c0 48 85 ff 74 33 <f6> 47 16 04 74 05 48 85 f6 75 2d 31 c0 c3 66 90 48 83 e7 fc 48 81
[ 2739.248107] [UFW BLOCK] IN=wlp3s0 OUT= MAC=a8:
[ 4484.828195] gnome-calendar[
[ 4484.828209] Code: ff fc 03 00 00 77 33 48 c1 ef 02 48 8d 05 b8 4b 02 00 48 8b 3c f8 48 81 fe fc 03 00 00 76 28 48 83 e6 fc 31 c0 48 85 ff 74 33 <f6> 47 16 04 74 05 48 85 f6 75 2d 31 c0 c3 66 90 48 83 e7 fc 48 81
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: systemd 248.3-1ubuntu8.2
ProcVersionSign
Uname: Linux 5.13.0-35-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 15 11:28:05 2022
MachineType: LENOVO 20BXCTO1WW
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
SystemdFailedUnits:
Error: command ['systemctl', 'status', '--full', '●'] failed with exit code 4: Invalid unit name "●" escaped as "\xe2\x97\x8f" (maybe you should use systemd-escape?).
Unit \xe2\x97\
------
Error: command ['systemctl', 'status', '--full', '●'] failed with exit code 4: Invalid unit name "●" escaped as "\xe2\x97\x8f" (maybe you should use systemd-escape?).
Unit \xe2\x97\
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/14/2019
dmi.bios.release: 1.37
dmi.bios.vendor: LENOVO
dmi.bios.version: JBET73WW (1.37 )
dmi.board.
dmi.board.name: 20BXCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50512 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T450s
dmi.product.name: 20BXCTO1WW
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
affects: | systemd → libxml2 |
affects: | systemd (Ubuntu) → libxml2 (Ubuntu) |
no longer affects: | libxml2 |
description: | updated |
Changed in libxml2: | |
status: | Unknown → Fix Released |
Changed in libxml2: | |
status: | Unknown → New |
I found the culprit, being a 0 byte "documents" file in the flatpak database. I filed an issue in the flatpak github.
https:/ /github. com/flatpak/ xdg-desktop- portal/ issues/ 369#issuecommen t-1068915444
I still don't know if this relates to libxml2, and if it is worth being investigated how that 0 byte file was created. Thanks for reading.