Can't unmount squashfs files after opening one of their folders
Version information
4.20.5, but the issue happens in all 4.20.x. EDIT: this is the offending commit: 3ff904cd
PorteuX 2.4 x64 dev
Steps to reproduce
PorteuX uses AUFS filesystem to be able to dinamically mount squashfs into the union (root folder).
- Mount a squashfs
- Try to unmount it -- it works
- Mount again
- Now go to one of the folders of this mounted squashfs
- Try to unmount it -- it doesn't work, even if you browse back to a folder outside the mounted squashfs
Current behavior
Since Thunar 4.20.0 something gets cached/locked (my guess) and the squashfs files fail to unmount until you manually kill Thunar daemon -- or simply close Thunar if it's not running as daemon.
Expected outcome
I tested this in the latest versions of the following file managers:
- nemo (Cinnamon)
- nautilus (GNOME)
- dolphin (KDE)
- pcmanfm (LXDE)
- pcmanfm-qt (LXQt)
- caja (MATE)
They all work just fine. So I guess Thunar is doing something wrong.
Additional information
I haven't tested 4.19.x, but 4.18.x works just fine. EDIT: the version that introduced this issue is 4.19.3 EDIT2: this is the offending commit: 3ff904cd
If I go to one of the mounted squashfs folders via file picker the issue doesn't happen, which seems to confirm this is not a GTK issue.
If run lsof nothing related shows up.