xdg-desktop-portal breaks hibernation 04 July 2025, 17:42:17 I'm using flatpak to use firefox, and when i do, it mounts my home directory inside a subdirectory of $XDG_CACHE_HOME, and then if i run something that reads the disk recursively it breaks xdg-desktop-portal.My environment is a artix linux setup using sway, having the xdg-desktop-portal and xdg-desktop-portal-wlr installed, and having ran firefox from flatpak, and then running `find $XDG_CACHE_HOME/doc` and waiting a few minutes, then i dumped the dmesg output.Due to the fact i have a lot of log-lines, i've uploaded them somewhere so i can post this. https://sharey.org/files/HlQQfv.txtafter that, i keep seeing the first lines about the task being blocked for more and more time.i've tried doing `kill -9` with the pid from the process, and whilst it removes it from the ps output sometimes, but it still fails to hibernate, but it gives more Call Traces, so i've put them below:https://sharey.org/files/vGwDGC.txtAfter a while i get a warning that tells me i won't see more hung task reports, but it still won't let me hibernate.I hope this is the right place to report the issue. Quote Selected
Re: xdg-desktop-portal breaks hibernation Reply #1 – 05 July 2025, 16:02:13 What if you set $XDG_CACHE_HOME to something outside your $HOME, like /tmp or /dev/shm to avoid recursion? Quote Selected
Re: xdg-desktop-portal breaks hibernation Reply #2 – 06 July 2025, 00:24:17 Quote from: nous – on 05 July 2025, 16:02:13What if you set $XDG_CACHE_HOME to something outside your $HOME, like /tmp or /dev/shm to avoid recursion?It'd half-work but still would cause recursion when I scan the entire disk, which yes I do.As a half-assed solution, i manually launch flatpak app, and then bind mount an empty folder. Quote Selected
Re: xdg-desktop-portal breaks hibernation Reply #3 – 07 July 2025, 14:53:20 I don't use flatpaks, have you tested if this happens in other distros too? Quote Selected