[Pkg-rust-maintainers] Bug#1120814: Blocks portal implementation for a long time on startup

Guido Günther agx at sigxcpu.org
Sun Nov 16 19:28:18 GMT 2025


Source: rust-ashpd
Version: 0.12.0-3
Severity: grave
Tags: patch
X-Debbugs-CC: debian-on-mobile-maintainers at alioth-lists.debian.ne

Due the way ashpd currently exports interfaces portal implementations
can block for a long time rendering the system unusable (as e.g. apps
take up to 25s to start up).

There is an upstream patch at:

https://github.com/bilelmoussaoui/ashpd/pull/313

The patch is uninvasive and fixes the issue. I tried to backport this using
debcargo via 

https://rust-team.pages.debian.net/book/hacks.html#patching-crates

but failed big time as I can't wrap my head around the order of commands
and debcargo keeps screaming different things I'm doing wrong.  Can't I
use git for this? Happy to open an MR if someone can quickly walk me
through it.

Filing with grave severity as enabling the rust based portal in phosh
would break end users system until DBus times out initial (25s) (I've
thus uploaded to exprimental for the moment).

Cheers,
 -- Guido


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/22 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-rust-maintainers mailing list